Exemple #1
0
 public void OnCharacterResurection(BaseClass resurrectedCharacter)
 {
     DeathCharacters.Remove(resurrectedCharacter);
     resurrectedCharacter.tag = resurrectedCharacter.TeamTag;
     if (resurrectedCharacter.TeamTag == "BlueTeam")
     {
         BlueTeamInBattle.Add(resurrectedCharacter);
     }
     else if (resurrectedCharacter.TeamTag == "RedTeam")
     {
         RedTeamInBattle.Remove(resurrectedCharacter);
     }
 }