protected virtual void RecordDestruction() { if (!m_ignoreOnDestroy) { SpawnedObjectManager.RemoveSpawnedObjectData(this); } m_ignoreOnDestroy = false; }
public override void Awake() { base.Awake(); m_instance = this; }
public override void Start() { base.Start(); SpawnedObjectManager.AddSpawnedObjectData(this); }