unity-atoms/Packages/BaseAtoms/Runtime/SyncVariableInstancerToCollection/SyncFloatVariableInstancerToCollection.cs

13 lines
545 B
C#
Raw Normal View History

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