Unity插件 – 库存系统 Inventory 2 | Game Creator 2

File size: 18.6MB

Version: 2.8.16

Original Unity Version: 2022.3.11 or later

This module requires Game Creator 2 to run.

use stackable items to create your own inventory system, make new items and trade with merchants. Or equip and personalize it with custom properties and sockets!

create a project and define what type of object it represents.

-Give them a name, description, sprite, and game object representation.

-Defines custom properties that can be changed at run time.

-Determine what slots it has so that other items can be connected.

-Equip and unequip the item and set the requirements for it.

-Create your own results when consuming items.

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

and

Bag also defines a UI Skin, which is used to open an interface with which users can interact. For example:

-Open the player’s inventory

-Remove and store items from boxes

-Pillage defeated enemies

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

It also supports multiple currencies, where each currency can contain multiple coins with different values. The

and

trophy tables allow random generation of items and wealth based on weighted percentages.

and

support saving and loading out of the box and are highly integrated with Game Creator’s visual scripts.

includes

source code examples and templates