Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Inspector purpose is providing you with a flexible GUI to explore logical AI nodes settings and data as well as providing UI hub for other tools to embed its own UI.
The main tab in inspector that always exists for any logical node. Provides control for base settings of the node assembly and pipeline behavior.
Member | Description |
---|---|
Toggle | Allows you to enable \ disable node execution. |
Script | Script applied to the logical node. Allows to change you assembly member instance during development at any moment. Type switch permitted only within the same node global type (Action->other Action; Order->other Order). |
Repeating | Defines behavior model using by core toward the logical node according. Using to control runtime flow. |
Tag | personal mark of the logical node that could be used to recognize it in common pool. |
This tab occurs in the Doloro AI Inspector
when:
Doloro.AI.ActionEditor
for the Doloro.AI.Action
or Doloro.AI.Order
derived class related to destination type.Doloro.AI.ActionEditor
derived class has no overridden OnGUI
handler.In this case DAI Inspector automatically scans for entire public
members not marked with the SerializedField
and generates UI according with the map.
You may create a custom GUI created with using of common GUI
, GUILayout
, EditorGUI
, EditorGUILayout
features you used to, or with any other solution you fill like to use.
For this you need to follow next steps:
Editor
folder. Such class will be visible in editor only.Assembly Definition
don't forget to add references to DoloroAICore
and DoloroAICoreEditor
assemblies.Doloro.AI.ActionEditor
.Doloro.AI.CustomActionEditorAttribute(typeof(YOUR_ACTION_NAME))
where YOUR_ACTION_NAME
is the action you'd like to bond with the editor.Doloro.AI.ActionEditor.OnGUI(Action action, Brain ai)
member. Insert your custom GUI within the scope.You no need to carry about marking any changes dirty or confirm changes in any way. The DAI Inspector
handles all routine tasks for you.
History tab is an extension provided from the box that allows you to track-down previous recent results reached by the node during its calls.
It may be very useful when you need to backtrack branching history during a pause to find out where the AI has invalid logic that misleads a planned behavior model.
Debug tab is an extension provided from the box that connects Doloro.AI.ActionEditor.DebugGUI(Action action, Brain ai)
handler and inspector.
The purpose of this tab to show a detailed info about internal process within a node that the developer's of the node considering important to analysis and bug-tracking.
Also, the tab provides base controls for managing the bond between the node and Doloro AI Debug Environment
.