Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
AI IDE.
Public Member Functions | |
delegate void | GUIExtensionHandler () |
delegate void | IDEConfigurationUpdateHandler () |
delegate void | HierarchyUpdateHandler (List< PipelineMap > hierarchy) |
void | ReleaseSelectedEntity () |
Releasing temporal data related to selected entity. | |
Static Public Member Functions | |
static void | Init () |
Window initialization. | |
Static Public Attributes | |
static GUIExtensionHandler | NodesCatalogGUIProvider |
Custom nodes catalog GUI element provider. More... | |
Protected Member Functions | |
virtual void | EstablishEnvirounment () |
Handler that initializes entire environment data and settings. | |
virtual void | OnSelectionChange () |
Occurs when hierarchy selection has being changed. | |
virtual void | OnGUI () |
Editor GUI. | |
virtual void | OnDestroy () |
Calls when window destroys | |
virtual void | OnWorkspaceGUI () |
GUI rendered in workspace editor zone. | |
virtual void | OnNodeGUI (Node node) |
Draws node's GUI element and its following ui. More... | |
virtual bool | OnEditorValidation () |
Handler that must checks is the editor has entire data required for stable work. More... | |
virtual void | OnPreInput () |
Handles input goes before any editor controls. | |
virtual void | OnPostInput () |
Handles input events after the core features has been executed. | |
virtual void | CreateEditorNode (Node parent, int index) |
Opens new opened node to the scene. More... | |
virtual void | OnNodeClose (Node node, bool head) |
Closing node instance in the editor. More... | |
virtual void | OnNodeRemove (Node node, int index) |
Removing node instance from the project. More... | |
virtual void | OnNodeHeaderGUI (Rect rect) |
Node header draw handler. More... | |
virtual void | OnNodeChildGUI (Rect rect, int index, bool active, bool focused) |
Draws one element of the list (ListItemExample) More... | |
virtual void | OnNodeBackgroundGUI (Rect rect, int index, bool active, bool focused) |
Handles node's line background draw. More... | |
virtual void | OnNodeReorder (ReorderableList list) |
Handles node lines reordering process. More... | |
virtual void | OnNodeChildAdd (ReorderableList list) |
Adding element to a node. More... | |
virtual void | NodesCatalogContextGUI () |
Calls context menu with categorized nodes that adds new node after the selection of an item within. | |
virtual void | OnNodeAdd (object obj) |
Handler for node adding callback. More... | |
virtual void | OnNodePast (object obj) |
Pasts copied instance of the node. More... | |
virtual void | OnNodeRemove (object obj) |
Handle for node remove event. More... | |
virtual void | OnNodeChildRemove (ReorderableList list) |
Removing child element from the node. More... | |
Properties | |
Brain | Current [get] |
Current AI entity in edit mode. | |
string | ProjectPath [get] |
Returns relevant project path. | |
PipelineMap | SelectedPipeline [get] |
Node selected to editing at the moment. | |
GameObject | SelectedGameObject [get] |
Game object selected in hierarchy. | |
string | EscapeNamespace = "Doloro.AI." [get, set] |
Name space prefix that are skipping to reduce unnecessary regular naming parts. | |
Node | NodeOnDraw [get] |
Buffer that holds currently handling node. | |
int | HandlingNodeGUILineIndex = 0 [get] |
Index of current line on handler. | |
DAIInspector.Inspector | inspector [get] |
Reference to PipelineItem inspector. | |
Events | |
static HierarchyUpdateHandler | MapLoaded |
Occurs when new map loaded. More... | |
IDEConfigurationUpdateHandler | BrainSelected |
Occurs when new source object is selected. | |
IDEConfigurationUpdateHandler | NewItemSelected |
Occurs when new pipeline item is selected. | |
|
protectedvirtual |
Opens new opened node to the scene.
parent | Parental node. |
index | Index of branched item on the parent node. |
|
protectedvirtual |
Handler that must checks is the editor has entire data required for stable work.
false
drops editor execution.
|
protectedvirtual |
Handler for node adding callback.
obj |
|
protectedvirtual |
Handles node's line background draw.
rect | Rect of the GUI space. |
index | Index of the line. |
active | Is the line active. |
focused | Is the line focused. |
|
protectedvirtual |
Adding element to a node.
list | Destination node's list. |
|
protectedvirtual |
Draws one element of the list (ListItemExample)
rect | |
index | |
active | |
focused |
|
protectedvirtual |
Removing child element from the node.
list | GUI representation of the node. |
|
protectedvirtual |
Closing node instance in the editor.
node | Node to close. |
|
protectedvirtual |
Draws node's GUI element and its following ui.
node | Node to draw. |
|
protectedvirtual |
Node header draw handler.
rect | Header GUI space. |
|
protectedvirtual |
Pasts copied instance of the node.
obj | Instance of the node that has been copied. |
|
protectedvirtual |
Removing node instance from the project.
node | Node to remove. |
|
protectedvirtual |
Handle for node remove event.
obj | Removing node instance. |
|
protectedvirtual |
Handles node lines reordering process.
list | GUI representation of reordering node. |
|
static |
Custom nodes catalog GUI element provider.
Invoking when user press add
button on the node. If null or causing exception switches to the default context menu.
|
static |
Occurs when new map loaded.
Used to source validation and update before it become a part of IDE.