Esempio n. 1
0
    // 攻守交代
    public void SwitchAvtiveController()
    {
        ActiveController.StopThrow();

        if (ActiveController == ControllerList[0])
        {
            var tmp = ActiveController;
            ActiveController    = ControllerList[1];
            NonActiveController = tmp;
        }
        else if (ActiveController == ControllerList[1])
        {
            var tmp = ActiveController;
            ActiveController    = ControllerList[0];
            NonActiveController = tmp;
        }

        ActiveController.StartThrow();
    }
Esempio n. 2
0
 public void StartThrowActiveController()
 {
     ActiveController.StartThrow();
 }