Files
2026-06-04 10:42:23 +07:00

32 lines
1.2 KiB
C#

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();
}
}
}