Exemple #1
0
 protected virtual void OnDisable()
 {
     EntityRegistry.Deregister(gameObject);
     Terminate();
 }
Exemple #2
0
 protected virtual void OnEnable()
 {
     EntityRegistry.Register(gameObject);
     Initialize();
 }