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

13 lines
568 B
C#
Raw Normal View History

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