- Home /
making gui enable in two cameras
hi
i have two cameras in my scene that the player can stiwch between. a shooting camera and a third person camera. the problem is that on my third person camera my health gui is enabled but when i switch to shooting camera, the gui disapears. can anyone tell me how i would go about enabling gui for both cameras?
thanks for reading
Answer by Mike 3 · Jun 26, 2010 at 03:38 PM
Make sure you have the GUI Layer component on both cameras
Answer by Ashkan_gc · Jun 26, 2010 at 04:21 PM
if you use unity GUI then it will be enabled in all cameras. if you use old GUIText and GuiTexture then you should have a GUI layer in the camera for making the gui visible.
Your answer
Follow this Question
Related Questions
Simple text GUI 2 Answers
Background color and structure disappear when enabling GUI Canvas 0 Answers
Gui.Enable transperancy 4 Answers