This commit is contained in:
2026-05-30 09:16:35 +07:00
parent 2f87ce19a7
commit 1c0ee6efb7
4001 changed files with 3363438 additions and 1738 deletions

View File

@@ -0,0 +1,32 @@
using UnityEngine;
using System.Collections.Generic;
namespace Invector.vItemManager
{
using vCharacterController.vActions;
public class vItemCollection : vTriggerGenericAction
{
[vEditorToolbar("Item Collection")]
[Header("--- Item Collection Options ---")]
[Tooltip("List of items you want to use")]
public vItemListData itemListData;
[Tooltip("Delay to actually collect the items, you can use to match with animations of getting the item")]
public float onCollectDelay;
[Tooltip("Drag and drop the prefab ItemCollectionDisplay inside the UI gameObject to show a text of the items you've collected")]
public float textDelay = 0.25f;
[Tooltip("Ignore the Enable/Disable animation of your item, you can assign an animation to your item in the ItemListData")]
public bool ignoreItemAnimation = false;
[HideInInspector]
public List<vItemType> itemsFilter = new List<vItemType>() { 0 };
[HideInInspector]
public List<ItemReference> items = new List<ItemReference>();
protected override void Start()
{
base.Start();
}
}
}