示例#1
0
文件: Entity.cs 项目: moto2002/BoEG
 protected virtual void OnDisable()
 {
     EntityRegistry.Deregister(gameObject);
     Terminate();
 }
示例#2
0
文件: Entity.cs 项目: moto2002/BoEG
 protected virtual void OnEnable()
 {
     EntityRegistry.Register(gameObject);
     Initialize();
 }