Changes

Jump to navigation Jump to search
Line 182: Line 182:     
Note that the '''parent''' parameter of '''GenerateUI''' call is null, because all the UI will be added as a child to the parent object, but since we are spawning a window, this is not necessary to define. and I'm using '''this''' for the callback parameter, so when you click the button, the method '''ShowMessage''' from this current class will be called.
 
Note that the '''parent''' parameter of '''GenerateUI''' call is null, because all the UI will be added as a child to the parent object, but since we are spawning a window, this is not necessary to define. and I'm using '''this''' for the callback parameter, so when you click the button, the method '''ShowMessage''' from this current class will be called.
 +
 +
Note that creating UI like this is done on the fly, so you could add functionality to reload the XML when you want for rapid testing.
    
== Networking ==
 
== Networking ==

Navigation menu