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

13 lines
574 B
C#
Raw Normal View History

using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
2020-03-19 03:41:44 -04:00
/// Adds Variable Instancer's Variable of type Collider2D to a Collection or List on OnEnable and removes it on OnDestroy.
/// </summary>
[AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collider2D Variable Instancer to Collection")]
[EditorIcon("atom-icon-delicate")]
public class SyncCollider2DVariableInstancerToCollection : SyncVariableInstancerToCollection<Collider2D, Collider2DVariable, Collider2DVariableInstancer> { }
}