Files
beyond/Assets/Scripts/InvectorDerivatives/vItemCollection.cs
2024-11-20 15:21:28 +01:00

36 lines
1.2 KiB
C#

using UnityEngine;
using System.Collections.Generic;
namespace Invector.vItemManager
{
using Beyond;
using vCharacterController.vActions;
public class vItemCollection : bTriggerGenericAction
{
[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();
}
}
}