Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Searches the first or nearest child object of an object saved to variable in AI's memory.
Public Types | |
enum | SearchMode { First , Near } |
Search behavior mode. More... | |
Public Member Functions | |
override void | Init (Brain ai) |
Calling one time when AI initializing. More... | |
override Result | Pass (Brain ai) |
Search the first or nearest child object on object saved to variable in AI's memory. More... | |
virtual void | End (Brain ai) |
Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More... | |
Public Attributes | |
int | searchModeId = (int)SearchMode.First |
Search mode. First - will return the first founded object with permitted tag. Near- will return the near to AI object with permitted tag. | |
string | sourceVariableTitle = "target" |
Variable in AI's memory that contains the source object | |
string | resultVariableTitle = "target" |
Variable in AI's memory that will contains the search targetBuffer | |
string | tagFilter = "" |
Tag of object that will searched. | |
Properties | |
GameObject | TargetObject [get, protected set] |
Current target object. | |
PipelineItem | self [get, set] |
Reference to node that contains this action. | |
virtual DataManagement.DynamicResources.Version | version [get] |
Source version. More... | |
virtual string | author [get] |
Source author. | |
|
virtualinherited |
Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail
ai | Source AI entity. |
Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.
|
virtual |
Calling one time when AI initializing.
Reimplemented from Doloro.AI.Action.
Search the first or nearest child object on object saved to variable in AI's memory.
ai | Source AI entity. |
Implements Doloro.AI.Action.
|
getinherited |
Source version.
Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.