Пример #1
0
    public void FadeTroopLight(int troopId, float intensity, float range, bool enabled)
    {
        TroopBase troop = GetTroop(troopId);

        if (troop != null)
        {
            troop.FadeLight(intensity, range, enabled);
        }
    }