示例#1
0
 private void OnEnable()
 {
     rigidbody = GetComponent <Rigidbody>();
     Controler = new TankKeyboardController();
     Despawn   = false;
     EntityRepresentation.transform.parent = null;
     EntryManager.AddEntity(this);
 }
示例#2
0
文件: TankGame.cs 项目: hww/unity_mvc
 private void FixedUpdate()
 {
     EntryManager.Update(Time.fixedTime);
 }