private void OnEnable() { rigidbody = GetComponent <Rigidbody>(); Controler = new TankKeyboardController(); Despawn = false; EntityRepresentation.transform.parent = null; EntryManager.AddEntity(this); }
private void FixedUpdate() { EntryManager.Update(Time.fixedTime); }