Game Development Reference
In-Depth Information
Summary
This chapter has been really code heavy (as expected), with a lot of information to
cover, however, the main aim was to get an understanding of the code and wiring
underneath the hood of the new UI system.
At this point, you should be able to build your own events/event system handlers
and if you have any flashy ideas, know how to submit them to Unity through their
new open source offering.
With the code you can now delve into how Unity are building controls and the
backend to support them so there is even more power in the hands of the everyday
developer; there are grand times ahead!
In this chapter, we covered the following topics:
• Events and what they mean
• How to build your own events and handlers
• The Event System (and what has it ever done for us!)
• Learning through examples (and more to come!)
• Open source UI and how to read and contribute
As a closing note, I would love to hear from developers about the creations you
make, so feel free to drop a note on the topic form or contact me through my blog.
Also if you have more examples to add to the UI scripts extensions library I created
with this topic, then the same code management instructions (detailed above) apply.
Just submit a PR (pull request) with your new script or a fix to an existing one and
I'll add it in. Have you got a request for a new script/control? If so, just log an issue
as a request; at the time of writing this I already have one and I haven't even shouted
much about it yet!
 
Search WWH ::




Custom Search