class
ManagedDropDownWindow
Managed implementation of a DropDownWindow.
All managed drop down windows are implemented using this class, and the managed instance contains the specifics of each implementation.
Public
Constructors
ManagedDropDownWindow
Methods
Update
Called once every frame.
Close
Closes and destroys the window.
TriggerOnInitialize
Trigger the OnInitialize method on the managed object.
TriggerOnDestroy
Trigger the OnDestroy method on the managed object.
SetupScriptBindings
Sets up script bindings between native and managed class.
Must be called after creating the script object wrapper, or after assembly is reloaded.
staticCreateScriptObject
Attempts to create a script object for the drop down window described by the provided type.
Returned object will not have the constructor called.
staticOpenWindow
Attempts to open a drop down window with the provided name.
- nameSpace
- Namespace of the managed window type.
- typeName
- Type name of the managed window type.
- parent
- Parent GUI element relative to which to position the drop down window.
- position
- Position relative to the parent GUI element at which to open the drop down window.
Returns: Instance of the managed window, or null if window cannot be opened.
Protected
Methods
NotifyScriptWillReload
Called on all script objects before script object reload happens.