示例#1
0
 // Update is called once per frame
 void Update()
 {
     //playerInput();
     paddleScript.setVerticalMove(vMove);
     stayWithinBoundaries();
     action = paddleScript.getCurrentAction();
     //check effects
     updateEffects();
     //rising wind check
     if (getSkillPassive().getName() == "rising wind")
     {
         paddleScript.bonusSpeed(getSkillPassive().getRisingWind());
     }
     //check skill
     if (skillA.getName() != "null")
     {
         updateSkills();
     }
     else
     {
         print("MISSING SKILLS");
     }
     //debug
 }