脚本/功能 【更新】Inventory 2 Game Creator 2 by Catsoft Works 2.6.10库存系统

Unity插件信息
插件名称: Inventory 2 Game Creator 2 by Catsoft Works
插件官网: https://assetstore.unity.com/packages/tools/utilities/inventory-2-game-creator-2-by-catsoft-works-208668
版本: 2.6.10
解压密码:
素材类型: 脚本/功能
本帖最后由 微笑的猫 于 2023-12-6 13:59 编辑


Inventory 2 系列索引

Inventory 2 2.1.2  下载链接
Inventory 2 2.5.7  下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.6.12  下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.7.13   下载链接
Inventory 2 Game Creator 2 by Catsoft Works 2.8.15  下载链接

















This module requires Game Creator 2 in order to work.
Create your very own Inventory system with stackable items, craft new objects and trade them with merchants. Or equipment and personalize them with custom properties and sockets!

Watch this video for a quickstart guide!
Create Items and define what kind of object represents.
- Give them a name, description, sprite and game object representation.
- Define custom Properties that can be changed at runtime.
- Determine what Sockets it has so other Items can be attached.
- Equip and Unequip the item and set what requirements it has.
- Create your own outcomes when consuming items.

These can be easily assigned to a Bag, which is a component that stores items and can be attached to any game object.

A Bag also defines a UI Skin which is used to open an interface that the user can interact with. For example:
- Opening the Player's inventory
- Taking and storing items from a chest
- Looting defeated enemies

Merchants are components attached along Bags that define the exchange rules. These components also define a UI Skin used when trading between two Bags.

It also supports multiple Currencies, where each can contain multiple Coins with different values.
Loot Tables allow to randomly generate items and wealth based on a weighted percentage.
Saving and Loading is supported out of the box, as well as being highly integrated with Game Creator's visual scripting.

Includes
Source code
Examples & Templates


本模块需要Game Creator 2才能工作。
用可堆叠的物品创建你自己的库存系统,制作新物品并与商人交易。或装备,并通过自定义属性和插座对其进行个性化处理!

观看此视频以获得快速入门指南!
创建物品并定义物品的种类。
- 给他们一个名字、描述、精灵和游戏对象的代表。
- 定义可以在运行时改变的自定义属性。
- 确定它有哪些插座,以便可以连接其他物品。
- 装备和解锁物品,并设置它有哪些要求。
- 在消耗物品时创建你自己的结果。

这些可以很容易地分配给一个袋子,它是一个存储物品的组件,可以附加到任何游戏对象。

一个袋子还定义了一个UI皮肤,用来打开一个用户可以互动的界面。比如说:
- 打开玩家的库存
- 从箱子中取出并储存物品
- 掠夺被打败的敌人

商人是与包相连的组件,定义了交换规则。这些组件也定义了在两个袋子之间交易时使用的用户界面皮肤。

它还支持多种货币,每种货币可以包含不同价值的多个硬币。
战利品表允许根据一个加权百分比随机生成物品和财富。
保存和加载支持开箱即用,并与Game Creator的可视化脚本高度集成。

包括
源代码
示例和模板






作者 cg小白兔 发表于 2023-5-11 14:28:28
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布4060

热门作品推荐
glow
GUI Kit - Matt Metal 2.0.0 按钮图标UI素
glow
女性人物模型 萝莉 可爱 卡通角色max文件有
glow
Classic RPG GUI 1.1手绘中世纪MMO经典UI素
glow
Two Handed Sword Animset Pro 1.2双手持剑
glow
Girl GreatSword AnimSet 1.0动漫风格女性
glow
Mesh Simplify 1.10 Unity网格简化插件
glow
UIObject3D:Render 3D Models on any Unit
glow
黑色幸存者 Hyejin 慧珍 巫女 含骨骼动画 F
glow
Climbing System 4.0 攀爬功能
glow
AVPro Live Camera 2.9.1