void OnDisable() { TE3GUIDMgr.Unregister(this); }
void OnDisable() { TE3ScatterMgr.Instance.UnregisterScatterArea(this); TE3GUIDMgr.Unregister(this); }
// Implicitly handled by uniqueness //void OnValidate() { // // Spawn when added to scene // if(m_SpawnedInstance == null && gameObject.scene.IsValid() && gameObject.scene.isLoaded) // AutoSpawn(); //} void OnEnable() { TE3GUIDMgr.Register(this); }
void OnEnable() { TE3GUIDMgr.Register(this); TE3ScatterMgr.Instance.RegisterScatterArea(this); }