// Update is called once per frame
 void Update()
 {
     _ControlMethod.ControlMethodScript();
     _CameraControl.CameraControlScript();
     _KineticControl.KineticControlScript();
     _RotationControl.RotationControlScipt();
 }
示例#2
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();
 }