- Home /
A GUI that appears in one camera view
Is there a script that can make a GUI appear only in certain Camera view? Like I have 2 Cameras, Cam 1 and Cam 2. I want a Gui only to appear in Cam 2.
Answer by fireomega · Feb 24, 2012 at 08:03 PM
You could try making an if statement like if(cam2.active == true){gui.active = true;}
please ask if you want anymore help
@fireomega, I looked at your profile to find that every answer and question on it, had at least 1 vote, and that in your karma history you earned 270 karma in one day. Today... in - fact. How did you do it?
Answer by burnpsy · Feb 24, 2012 at 10:16 AM
I'm fairly sure you can simply wrap the GUI in an if statement that checks which camera you're using.
I haven't played around with multiple cameras myself yet, but some Google-fu tells me that you'd want something along the lines of
if (Camera.current == GUICamera)