class
ManagedModalWindow
Modal window implementation that handles managed modal window implementations.
Each implementation is wrapped in this object and then managed by its parent interop object of ScriptModalWindow type.
Public
Constructors
ManagedModalWindow
Methods
Update
Called once every frame.
staticCreateScriptObject
Attempts to create a script object for the modal window described by the provided type.
Returned object will not have the constructor called.
SetupScriptBindings
Sets up script bindings between native and managed class.
Must be called after creating the script object wrapper, or after assembly is reloaded.
TriggerOnInitialize
Triggers OnInitialize callbacks on the managed instance.
TriggerOnDestroy
Triggers OnDestroy callbacks on the managed instance.
staticOpenWindow
Attempts to open a managed modal window with the provided name.
- nameSpace
- Namespace of the managed window type.
- typeName
- Type name of the managed window type.
Returns: Instance of the managed window, or null if window cannot be opened.
Protected
Methods
DoOnWindowResized
Callback that triggers whenever the underlying render window changes size.
Close
Closes and destroys the window.
NotifyScriptWillReload
Called on all script objects before script object reload happens.