canto/Assets/Scripts/Item/Atoms/SyncVariableInstancerToCollection/SyncItemVariableInstancerToCollection.cs
2025-10-02 15:28:03 -04:00

13 lines
586 B
C#

using UnityEngine;
using UnityAtoms.BaseAtoms;
using KitsuneCafe.ItemSystem;
namespace UnityAtoms.KitsuneCafe.Atom.ItemSystem
{
/// <summary>
/// Adds Variable Instancer's Variable of type Item to a Collection or List on OnEnable and removes it on OnDestroy.
/// </summary>
[AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Item Variable Instancer to Collection")]
[EditorIcon("atom-icon-delicate")]
public class SyncItemVariableInstancerToCollection : SyncVariableInstancerToCollection<Item, ItemVariable, ItemVariableInstancer> { }
}