HasNextSpell() 공개 메소드

public HasNextSpell ( ) : bool
리턴 bool
예제 #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();
        }
    }