示例#1
0
 protected virtual void OnBasicMove(BasicMoveReference basicMove, UFE3D.CharacterInfo player)
 {
     // Fires when a player successfully executes a move
     // player.playerNum = 1 or 2
     if (player.playerNum == 1 &&
         !complete &&
         !UFE.config.lockInputs &&
         UFE.gameMode == GameMode.ChallengeMode &&
         challengeActions[currentAction].actionType == ActionType.BasicMove &&
         challengeActions[currentAction].basicMove == basicMove)
     {
         currentAction++;
         testChallenge();
     }
     else
     {
         currentAction = 0;
     }
 }
示例#2
0
 protected virtual void OnBasicMove(BasicMoveReference basicMove, CharacterInfo player)
 {
     // Fires when a player successfully executes a move
     // player.playerNum = 1 or 2
 }