HasNextSpell() public method

public HasNextSpell ( ) : bool
return bool
Beispiel #1
0
    private IEnumerator WaitThenShowNextInstructions(Spell spell)
    {
        //Debug.Log ("Starting to wait: " + Time.time);

        // Wait to let the last spell's animation play a little bit
        yield return(new WaitForSeconds(1.0f));

        //Debug.Log ("Done waiting: " + Time.time);

        if (!spellList.HasNextSpell())
        {
            EndGame();
        }
        else
        {
            ShowInstructions();
        }
    }