Reset() 공개 메소드

public Reset ( ) : void
리턴 void
예제 #1
0
	// Re-initialize everything!
	public void StartNewSpell (string spellType = null) {
		winBox.GetComponent<Canvas>().enabled = false;
		loseBox.GetComponent<Canvas>().enabled = false;

		isStarted = false;
		curSpell = null;

		spellList = GameObject.Find ("SpellList").GetComponent<SpellList> ();
		spellList.Reset ();

		ShowInstructions ();
	}
예제 #2
0
    // Re-initialize everything!
    public void StartNewSpell(string spellType = null)
    {
        winBox.GetComponent <Canvas>().enabled  = false;
        loseBox.GetComponent <Canvas>().enabled = false;

        isStarted = false;
        curSpell  = null;

        spellList = GameObject.Find("SpellList").GetComponent <SpellList> ();
        spellList.Reset();

        ShowInstructions();
    }