Esempio n. 1
0
 public void Start()
 {
     _transform = transform;
     if (LevelConfiguration.Instance.IsMotocycleLevel)
     {
         characterController = MotorController.GetInstance();
     }
     else
     {
         characterController = Controller.GetInstance();
     }
     if (!target && characterController != null)
     {
         target = characterController.GetTransform();
     }
 }
Esempio n. 2
0
 void Start()
 {
     controller = MotorController.GetInstance();
 }