unity-atoms/Packages/BaseAtoms/Runtime/SyncVariableInstancerToCollection/SyncStringVariableInstancerToCollection.cs
2020-03-19 08:41:44 +01:00

13 lines
550 B
C#

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