the worlds WORST code
This commit is contained in:
parent
99cda5f6b9
commit
c2a71d5188
6 changed files with 731 additions and 8 deletions
|
|
@ -11,4 +11,9 @@ public class UIHandler : MonoBehaviour
|
|||
{
|
||||
hiddenUI.SetActive(false);
|
||||
}
|
||||
|
||||
public void ToggleUI(GameObject toggledUI)
|
||||
{
|
||||
toggledUI.SetActive(!toggledUI.activeSelf);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue