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

13 lines
486 B
C#

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