unity-atoms/Packages/BaseAtoms/Runtime/Collections/SyncCollectionInstancerToCollection.cs
2020-03-19 08:39:43 +01:00

13 lines
537 B
C#

using UnityEngine;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Adds Variable Instancer's Collection to a Collection or List on OnEnable and removes it on OnDestroy.
/// </summary>
[AddComponentMenu("Unity Atoms/Collections/Sync Collection Instancer to Collection")]
[EditorIcon("atom-icon-delicate")]
public class SyncCollectionInstancerToCollection : SyncVariableInstancerToCollection<StringReferenceAtomBaseVariableDictionary, AtomCollection, AtomCollectionInstancer> { }
}