|
| static Managed | GetInstance (TypeName type, bool showError=false, bool modeFirst=false) |
| | Get the local instance of a component attached on editor manager (SCR_EditorManagerEntity).
|
| |
| static Managed | GetInstance (SCR_EditorBaseEntity editorManager, TypeName type, bool showError=false) |
| | Get instance of a component attached on specific editor manager / mode (SCR_EditorBaseEntity).
|
| |
| static int | GetAllInstances (TypeName type, out notnull array< Managed > outComponents) |
| | Get component instances on editor manager (SCR_EditorBaseEntity) and all its modes (SCR_EditorModeEntity).
|
| |
| bool | IsOnEditorManager () |
| |
| bool | IsOwner () |
| |
| bool | IsProxy () |
| |
| bool | IsMaster () |
| |
| bool | IsAdmin () |
| |
| SCR_BaseEditorComponent | GetParentComponent () |
| |
| void | SetParentComponent (SCR_BaseEditorComponent parent) |
| |
| void | SendNotification (ENotification notificationID, int selfID=0, int targetID=0, vector position=vector.Zero) |
| |
| void | EOnEditorInit () |
| | When the entity is created.
|
| |
| void | EOnEditorDelete () |
| | When the entity is destroyed.
|
| |
| void | EOnEditorRequest (bool isOpen) |
| | When opening/closing request is sent to server.
|
| |
| void | EOnEditorOpen () |
| | When the editor is opened.
|
| |
| void | EOnEditorPreActivate () |
| | Before the component is activated.
|
| |
| bool | EOnEditorActivateAsync (int attempt) |
| | When the component is activated.
|
| |
| void | EOnEditorPostActivate () |
| | When the component is activated, but after EOnEditorActivate() function was called in all components.
|
| |
| bool | EOnEditorDeactivateAsync (int attempt) |
| | When the component is deactivated.
|
| |
| void | EOnEditorPostDeactivate () |
| | When the component is deactivated, but after the next mode is activated.
|
| |
| void | EOnEditorDebug (array< string > debugTexts) |
| | Every frame while the editor is opened and debug menu is shown.
|
| |
| void | EOnEffect (SCR_BaseEditorEffect effect) |
| | When an effect is created in reaction an an event.
|
| |
| void | EOnEditorInitServer () |
| | When the entity is created (called on server)
|
| |
| void | EOnEditorDeleteServer () |
| | When the entity is destroyed (called on server)
|
| |
| void | EOnEditorOpenServer () |
| | When the editor is opened (called on server)
|
| |
| void | EOnEditorOpenServerCallback () |
| | When the editor is opened (called on server after async loading finished on client)
|
| |
| void | EOnEditorCloseServer () |
| | When the editor is closed (called on server)
|
| |
| void | EOnEditorCloseServerCallback () |
| | When the editor is closed (called on server after async loading finished on client)
|
| |
| void | EOnEditorActivateServer () |
| | When the component is activated (called on server)
|
| |
| void | EOnEditorDeactivateServer () |
| | When the component is deactivated (called on server)
|
| |