On StackOverflow, someone asks how to detect the GUI Window Created/Closed Event, which Unity3D does not ship an off-the-shelf solution.
Below is my solution to this problem: to use property setter to handle this. Here is the sample code:
Read the rest of this entry »
Posted by xinyustudio on June 11, 2015 in Programming, Unity 3d
Tags: closed, Created, detect, event, event handler, example, GUI, handling, inited, tutorial, Unity, Unity 3d, window
Just took 1 day and implemented the line chart in Unity3D. Below is a demo. It was built using Unity GUI and Graphic.DrawTexture() calls.
Posted by xinyustudio on November 16, 2014 in Programming, Unity 3d
Tags: chart, glyph, graph, GUI, legend, line chart, Unity, Unity3d
The default rendering results for GUI objects such as GUI textures, buttons, labels etc. are that they are overlaied above 3D views.
To do the opposite, for instance, make 3D view overlaied upon GUITextures, one can user layers and multiple cameras to achieve this.
Posted by xinyustudio on November 5, 2013 in Programming, Unity 3d
Tags: 3d objects, above, below, beneath, button, GUI, guitexture, over, overlay, Unity3d
Follow this blog and receive new posts by email.
Join 83 other followers
Blog at WordPress.com.
Entries (RSS) and Comments (RSS)