Creating Components in Code
Introduction
Code Example
ButtonRuntime instance = new ButtonRuntime();
instance.AddToManagers();// At the Glue screen level:
ButtonRuntime buttonInstance;
private void CustomInitialize()
{
buttonInstance= new ButtonRuntime();
buttonInstance.AddToManagers();
}
...
private void CustomDestroy()
{
buttonInstance.RemoveFromManagers();
}Adding a new instance as a child
Last updated
Was this helpful?