public void ClearLevel() { setupComplete = false; HidePlayerAndTarget(); if (InstructionsObject != null) { InstructionsObject.GetComponent <Instructions>().display = false; } Grid.ClearGrid(); }
/** * 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(); }