Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TheCire/11d99028a6d78fd2ef2298cf5d3e6804 to your computer and use it in GitHub Desktop.
Save TheCire/11d99028a6d78fd2ef2298cf5d3e6804 to your computer and use it in GitHub Desktop.
void HideCraftingPanels(){
for(var i = 1; i < 7; i++) {
HideCraftingPanel("CraftItemsPanel" + i.ToString());
}
}
public void ShowCraftPanel(int panelNumber ){
HideCraftingPanels();
ShowCraftingPanel("CraftItemsPanel" + panelNumber.ToString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment