예제 #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);
 }