コード例 #1
0
 void AddBluePoints(int points, string reason)
 {
     BlueTeamScore += points;
     if (reason == "kill")
     {
         HUDScript.NotifyPoints(team.blue, reason, points);
     }
     else if (reason == "item")
     {
         HUDScript.NotifyPoints(team.blue, reason, points);
     }
     //HUDD.UpdateHUDD.Invoke();
 }