C# Class lab.ANode

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: marekdaniluk/lab Class Usage Examples

Méthodes publiques

Свойство Type Description
OnDebugResult DebugNodeHandler

Méthodes publiques

Méthode Description
DebugRun ( AiBlackboard parameters, IList trees, int level, int nodeIndex ) : bool

Runs debug this node.

Run ( AiBlackboard parameters, IList trees, List tasks ) : bool

Runs this node.

Method Details

DebugRun() public abstract méthode

Runs debug this node.
public abstract DebugRun ( AiBlackboard parameters, IList trees, int level, int nodeIndex ) : bool
parameters AiBlackboard AiBlackboard with global parameters.
trees IList Readonly list with all ai trees.
level int Level of how deep we are in this AiTree.
nodeIndex int Index of current node in parent's node. If this is root, nodeIndex is 0.
Résultat bool

Run() public abstract méthode

Runs this node.
public abstract Run ( AiBlackboard parameters, IList trees, List tasks ) : bool
parameters AiBlackboard AiBlackboard with global parameters.
trees IList Readonly list with all ai trees.
tasks List List of task scripts to bind with task nodes.
Résultat bool

Property Details

OnDebugResult public_oe property

public DebugNodeHandler OnDebugResult
Résultat DebugNodeHandler