Esempio n. 1
0
 public void ClearLevel()
 {
     setupComplete = false;
     HidePlayerAndTarget();
     if (InstructionsObject != null)
     {
         InstructionsObject.GetComponent <Instructions>().display = false;
     }
     Grid.ClearGrid();
 }
Esempio n. 2
0
    /**
     * FUNCTION NAME: TrashTheLevel
     * DESCRIPTION  : I'm the trash man.
     * INPUTS       : None
     * OUTPUTS      : None
     **/
    public void TrashTheLevel()
    {
        if (m_TileGrid == null)
        {
            Debug.LogError("UI Trash Button cannot find the tile grid!");
            return;
        }

        m_TileGrid.ClearGrid();
    }
 void TrashLevel()
 {
     m_TileGrid.ClearGrid();
 }