- Home /
GUI Buttons on a Mini-Map
Is it possible to direct GUI buttons to show up on the camera of a mini-map (not the main camera)?
Comment
Answer by Catlard · Apr 20, 2012 at 05:35 AM
How are you implementing the mini-map? As a view from a second camera?
Basically, I'd follow the instructions here:
http://answers.unity3d.com/questions/14253/how-do-i-attach-a-camera-to-a-gui-for-a-mini-map.html
And then throw a script with an OnGUI function on the second camera that you're using for a mini-map. Have you tried that yet?
not sure if the ongui knows which camera it's suppsed to show up on even if it's a script instance in the camera you want it in (as opposed to the other)
Your answer
