I made a key press system to open a menu and it works but I don’t know how to set the menu object as active in the script.
YourGameObject.SetActive(true);
to enable it
YourGameObject.SetActive(false);
to disable it
Have a good time
I made a key press system to open a menu and it works but I don’t know how to set the menu object as active in the script.
YourGameObject.SetActive(true);
to enable it
YourGameObject.SetActive(false);
to disable it
Have a good time