Пример #1
0
    public IEnumerator Battle()
    {
        scriptBotonCombate.setMinions(rosterMinions);
        scriptBotonCombate.setTroops(rosterTroops);

        yield return(null);
    }
Пример #2
0
    private IEnumerator TheBattle()
    {
        Debug.Log(rosterMinions[0]);

        scriptBotonCombate = botonCombate.GetComponent <BattleMechanics>();
        scriptBotonCombate.setMinions(rosterMinions);
        scriptBotonCombate.setTroops(rosterTroops);
        scriptBotonCombate.StartFirstRound();

        yield return(null);
    }