diff --git a/Packages/BaseAtoms/Runtime/MonoBehaviourHelpers/SyncGameObjectToList.cs b/Packages/BaseAtoms/Runtime/MonoBehaviourHelpers/SyncGameObjectToList.cs index 1c6bbbde..f2b22610 100644 --- a/Packages/BaseAtoms/Runtime/MonoBehaviourHelpers/SyncGameObjectToList.cs +++ b/Packages/BaseAtoms/Runtime/MonoBehaviourHelpers/SyncGameObjectToList.cs @@ -4,7 +4,7 @@ using UnityEngine.Assertions; namespace UnityAtoms.BaseAtoms { /// - /// Adds a GameObject to a GameObject Value List on OnEnable and removes it on OnDestroy. + /// Adds a GameObject to a GameObject Value List on Start and removes it on OnDestroy. /// [AddComponentMenu("Unity Atoms/MonoBehaviour Helpers/Sync GameObject To List")] [EditorIcon("atom-icon-delicate")] @@ -13,7 +13,7 @@ namespace UnityAtoms.BaseAtoms [SerializeField] private GameObjectValueList _list = default; - void OnEnable() + void Start() { Assert.IsNotNull(_list); _list.Add(gameObject);