I am trying to get a custom gui element (health gauge) from playmaker to sit on top of an ingame menu.
When I create this element, it is by default sent behind the ingame menu, regardless of the gui depth.
Is there a way to change the "depth" of the entire menu system so that this custom gui sits on top of that?
Alternatively, would creating a 3d menu object be a better approach?
Thanks.
Comments
playerMenus.DrawMenus ();
The depth isn't called specifically, so try forcing it by inserting the following line just before:
GUI.depth = -2;
(for example) See what works - if there should be a "standard" depth, I'll incorporate it into AC official.
@skitt2501: Excellent suggestion - it's already possible to link a Slider to a float Global Variable, but right now it'll always be "clickable".