Beispiel #1
0
    public void SetupTeam(e_Teams _team, TeamManager _tm, HealthBar _hp)
    {
        team         = _team;
        _teamManager = _tm;
        _healthBar   = _hp;

        teamColor = HelperClass.GetColor((int)team);
        _meshRenderer.material.color = teamColor;
        _mapIcon.ChangeColor((int)team);
    }