Пример #1
0
    public override GameObject indicator(Troop.troopType _t)
    {
        switch (_t)
        {
        case Troop.troopType.SOLDIER:
            return(soldierIndicator);

        case Troop.troopType.CAR:
            return(carIndicator);

        case Troop.troopType.TANK:
            return(tankIndicator);

        case Troop.troopType.PLANE:
            return(planeIndicator);
        }
        return(null);
    }
Пример #2
0
 public virtual GameObject indicator(Troop.troopType _t)
 {
     return(null);
 }