示例#1
0
    public void SetUp()
    {
        movement             = playerInstance.GetComponent <CharactersBase>();
        movement.inputNumber = playerInput;
        movement.particles   = particles;
        marker.spriteColor   = playerColor;

        nWins = 0;
    }
示例#2
0
 public int verloquees(CharactersBase personaje)
 {
     if (personaje.characterName == "Archer") {
         return 1;
     }
     if (personaje.characterName == "Knight") {
         return 2;
     }
     if (personaje.characterName == "Thief") {
         return 3;
     }
     if (personaje.characterName == "White Mage") {
         return 4;
     }
     if (personaje.characterName == "Wizard") {
         return 5;
     } else {
         return 0;
     }
 }