Beispiel #1
0
 void FixedUpdate()
 {
     if (_UIController._OpenedUI)
     {
         return;
     }                                       //If  UI Opened Cancel Movement
     //Move the Character According to left stick input or wasd
     _MoveControl._MoveControlScript();
     //Rotate The Character According to Mouse Position or Right Analog
     if (rotationControlActive)
     {
         _RotationControl.RotationControlScript();
     }
     //Camera Follow Character
     _CameraControl.CameraControlScript();
     _CharacterAttack.ChracterAtttackScript();
 }