A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
That would be awesome!
Thank you, I'm hoping high Karma will help me get noticed by game companies.
Lol, really. Hahaha. Well, if that's the case, don't worry.
Hey, if you haven't selected my answer in Unity Answers, can you. Greatly Appreciated.
Alright, I modified the menu script: using UnityEngine; using System.Collections; using System; public class CameraDeviceMenu : MonoBehaviour...
Yeah, I got it. I'm not sure what the problem is. Can you post the two scripts for me?
Can you post a screen shot of the inspector for me?
Is Camera Menu on the second script set to the Menu Script in the inspector?
That will make it so clicking the button will open the menu. Then, clicking anywhere on the screen, not on the menu, will close it.
Then replace the other script with this: using UnityEngine; using System.Collections; public class GUI_settings : MonoBehaviour { public...
Ok, so first, in the menu script make the update method look like this: public void Update() { // If the touch event results from a...
Sorry for my vagueness on friday, I was trying to get a good answer out before leaving town for the weekend. Now, let me see....
Forgot this in the menu toggle script. After the if statement add this. menuVisible = newVisible;
Ok, so to have the button toggle the menu, you will need to use GUI.Toggle instead of GUI.Button. To do this, you will need to add a private bool...
And the execute in edit mode attribute if you want it.
And don't forget the "Using" statements at the top.
The second script: public class GUI_settings : MonoBehaviour { public Texture2D menu; public CameraDeviceMenu cameraMenu; private...
In the first script: 1. Comment out everything in Update(). 2. add this method: public void ShowMenu() { mMenuToShow =...
It responds to you touching the screen? That's kinda of weird. So you want it to open only when they hit the gui button in the other script?
That script looks like it is pretty independent. I don't see any straight forward way of opening it. If you put it on a GameObject, does it open...