oddgames / UIToolkit

Single draw call UI solution for Unity with multi resolution support and more.
518 stars 153 forks source link

Removing Containers (UIAbstractContainers), and their contents from the scene. #140

Open hyakugei opened 11 years ago

hyakugei commented 11 years ago

This method follows from how UITextInstances are removed. By calling it, you remove all children of the container from their managers as well. The container itself is then removed from the UI GameObject.

hyakugei commented 11 years ago

I've messed something up, as i have 2 changes in this one pull request. Also, i know the other one touches most other files - it is removing almost all references to the native Touch struct, and using a UITouchWrapper class. This fixes the mouse-click error on the web-player.