Пример #1
0
 public virtual void OnEnable()
 {
     ComponentPoolSystem.Register(this);
 }
Пример #2
0
 public virtual void OnDisable()
 {
     ComponentPoolSystem.Unregister(this);
     _entity = null;
 }