/*********************************************************************************** * Function Name: BuildBlock * Description: Helper function to build a block on a space **********************************************************************************/ public void BuildBlock() { Space selectedSpace = gameUI.GetComponent <TileSelector>().GetSelectedSpace(); // Calls helper method in the gameUI class to build the block gameUI.BuildBlock(selectedSpace); selectedSpace.IncrementFloorLevel(); }