示例#1
0
 public virtual void OnEnable()
 {
     ComponentPoolSystem.Register(this);
 }
示例#2
0
 public virtual void OnDisable()
 {
     ComponentPoolSystem.Unregister(this);
     _entity = null;
 }