C# 클래스 lab.ANode

상속: UnityEngine.ScriptableObject
파일 보기 프로젝트 열기: marekdaniluk/lab 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnDebugResult DebugNodeHandler

공개 메소드들

메소드 설명
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.

메소드 상세

DebugRun() 공개 추상적인 메소드

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.
리턴 bool

Run() 공개 추상적인 메소드

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.
리턴 bool

프로퍼티 상세

OnDebugResult 공개적으로 프로퍼티

public DebugNodeHandler OnDebugResult
리턴 DebugNodeHandler