mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 09:08:23 -05:00
14 lines
650 B
C#
14 lines
650 B
C#
using UnityEngine;
|
|
using UnityAtoms.BaseAtoms;
|
|
using UnityAtoms.MonoHooks;
|
|
|
|
namespace UnityAtoms.MonoHooks
|
|
{
|
|
/// <summary>
|
|
/// Adds Variable Instancer's Variable of type ColliderGameObject to a Collection or List on OnEnable and removes it on OnDestroy.
|
|
/// </summary>
|
|
[AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync ColliderGameObject Variable Instancer to Collection")]
|
|
[EditorIcon("atom-icon-delicate")]
|
|
public class SyncColliderGameObjectVariableInstancerToCollection : SyncVariableInstancerToCollection<ColliderGameObject, ColliderGameObjectVariable, ColliderGameObjectVariableInstancer> { }
|
|
}
|