UI

UIWidget is responsible for the management of widgets as well as animating them. Your custom widgets should extend from this class or from child classes. This way you can always track existing widgets by name in your game.

All Login System windows extend from UIWidget and have reference to UI fields(InputFields, Buttons and others).