예제 #1
0
    private void Start()
    {
        BattlefieldUnits.SetUnitAllegiances();
        PlayerController player = Player as PlayerController;

        if (player != null)
        {
            player.SetUnits(BattlefieldUnits.UnitsOf(player.Player));
        }
        player = Enemy as PlayerController;
        if (player != null)
        {
            player.SetUnits(BattlefieldUnits.UnitsOf(player.Player));
        }
        AdvanceUnit();
    }