脚本/功能 【更新】Inventory Plus - Customizable Inventory System 2.0.0

Unity插件信息
插件名称: Inventory Plus - Customizable Inventory System
插件官网: https://assetstore.unity.com/packages/tools/game-toolkits/inventory-plus-customizable-inventory-system-250814
版本: 2.0.0
解压密码:
素材类型: 脚本/功能




























What is it?
InventoryPlus is an intuitive and powerful tool that simplifies the creation of custom inventories, chests and pickups. The asset is designed primarely for mouse and keyboard but supports gamepads as well. InventoryPlus takes care for you of all the inventory operations you can think of (like use, equip, sort, drop etc...)
It works on 3D, 2.5D and 2D games by tweaking the collider type of TriggerAreas, PickUp and Chests

How do I use it?
Simple: install the package, drag the inventory prefab in your scene and tweak the InventoryPlus component to fit your need, there are no additional packages required! The package accommodates the user who wants a simple plug and play solution and also developers who want to add their own modifications on top of the existing code.
The resolution used for the UI in the sample scene is 16:9.

What's included?
The package contains:
Item Type Scriptable Objects
Inventory prefab + script
Chest prefab + script
Player controller with an animated sprite
PickUp prefab with an animated sprite
AreaTrigger prefab with an animated sprite
Multiple inventory UI slots
Prefab folder with all the "core" components
2 sample scenes that guide you and allow you to experiment with the asset
The package main features are:

Togglable inventory with a customizable hotbar
Enables you to create new Item Types using Scripable Objects
Allows you to create a custom visual for your inventory
Stores both stackable and non-stackable items in the inventory and chests
Displays durability of items with a progression bar and/or value (customizable)
Changes the visual of items based on their durability
Allows you to dedicate specific inventory slots to specific items categories
Use items when the inventory is openend and/or closed (customizable)
Drop items when the inventory is openend and/or closed (customizable)
Equip items when the inventory is openend and/or closed (customizable)
Sort items when the inventory is openend and/or closed (customizable)
Swap items when the inventory is openend and/or closed (customizable). The operation can also be performed also with the mouse if the option is enabled
Contains an InputReader to trigger inventory events
Allows you to pickup items when dropped from the inventory
Allows you to perform operation on inventory items based on their category or ID
Top-down character controller
Allows you to interact with chests
Allows you to save the player inventory when moving through scenes
Allows you to save pickups and chest so that they can be loaded when the scene is launched again


它是什么?
InventoryPlus 是一款直观而强大的工具,可简化自定义库存、箱子和拾取物的创建。 该资源主要针对鼠标和键盘设计,但也支持游戏手柄。 InventoryPlus 会为您处理您能想到的所有库存操作(如使用、装备、排序、丢弃等...)
通过调整 TriggerAreas、PickUp 和 Chests 的碰撞类型,它适用于 3D、2.5D 和 2D 游戏

我该如何使用它?
简单:安装软件包,将库存预制件拖动到场景中,然后调整 InventoryPlus 组件以满足您的需求,无需额外的软件包! 该软件包适合需要简单即插即用解决方案的用户以及想要在现有代码之上添加自己的修改的开发人员。
示例场景中 UI 使用的分辨率为 16:9。

包括什么?
包装内含:
项目类型 可编写脚本的对象
库存预制件+脚本
箱子预制件+脚本
带有动画精灵的玩家控制器
拾取带有动画精灵的预制件
带动画精灵的 AreaTrigger 预制件
多个库存 UI 插槽
包含所有“核心”组件的 Prefab 文件夹
2 个示例场景可指导您并允许您试验该资产
该软件包的主要特点是:

具有可定制热栏的可切换库存
使您能够使用可脚本对象创建新的项目类型
允许您为库存创建自定义视觉效果
将可堆叠和不可堆叠的物品存储在库存和箱子中
用进度条和/或值(可定制)显示物品的耐用性
根据物品的耐用性改变物品的视觉效果
允许您将特定的库存位置专用于特定的物品类别
当库存开放和/或关闭时使用物品(可定制)
当库存打开和/或关闭时掉落物品(可定制)
当库存处于开放和/或关闭状态时装备物品(可定制)
库存打开和/或关闭时对物品进行排序(可定制)
当库存打开和/或关闭时交换物品(可定制)。 如果启用该选项,也可以使用鼠标执行该操作
包含一个InputReader来触发库存事件
允许您拾取从库存中掉落的物品
允许您根据库存物品的类别或ID对其进行操作
自上而下的角色控制器
允许您与宝箱互动
允许您在场景中移动时保存玩家库存
允许您保存拾取物和箱子,以便在场景再次启动时加载它们





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

关注0

粉丝0

发布4838

热门作品推荐
glow
Magic Slashes FX 1.0 魔幻法术刀光特效火
glow
Scifi / Modern flat themed GUI / UI kit
glow
Odin - Inspector and Serializer 3.0.12
glow
2D Crystal Set 1.0 水晶钻石宝石素材
glow
2000 Fantasy Icons 1.3 一组2168个手绘图
glow
【更新】Amplify Shader Pack 2.1.2
glow
MicroSplat - Terrain Holes 3.2 地形山洞
glow
【更新】Snaps Prototype Asian Garden 1.
glow
Snaps Prototype European Village 1.0 村
glow
Blacksmith Action 2D RPG Engine Starter