C# 클래스 Pathfinding.ABPath

상속: Path
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
calculatePartial bool
endHint GraphNode
endNode GraphNode
endPoint UnityEngine.Vector3
originalEndPoint UnityEngine.Vector3
originalStartPoint UnityEngine.Vector3
recalcStartEndCosts bool
startHint GraphNode
startIntPoint Int3
startNode GraphNode
startPoint UnityEngine.Vector3

보호된 프로퍼티들

프로퍼티 타입 설명
endNodeCosts int[]
hasEndPoint bool
partialBestTarget PathNode

공개 메소드들

메소드 설명
ABPath ( ) : UnityEngine
CalculateStep ( long targetTick ) : void
Cleanup ( ) : void
Construct ( Vector3 start, Vector3 end, OnPathDelegate callback = null ) : ABPath
DebugString ( PathLog logMode ) : string
GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
GetMovementVector ( Vector3 point ) : Vector3
Initialize ( ) : void
Prepare ( ) : void
Reset ( ) : void
ResetCosts ( Path p ) : void

보호된 메소드들

메소드 설명
Recycle ( ) : void
Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
UpdateStartEnd ( Vector3 start, Vector3 end ) : void

비공개 메소드들

메소드 설명
ABPath ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : UnityEngine

메소드 상세

ABPath() 공개 메소드

public ABPath ( ) : UnityEngine
리턴 UnityEngine

CalculateStep() 공개 메소드

public CalculateStep ( long targetTick ) : void
targetTick long
리턴 void

Cleanup() 공개 메소드

public Cleanup ( ) : void
리턴 void

Construct() 공개 정적인 메소드

public static Construct ( Vector3 start, Vector3 end, OnPathDelegate callback = null ) : ABPath
start UnityEngine.Vector3
end UnityEngine.Vector3
callback OnPathDelegate
리턴 ABPath

DebugString() 공개 메소드

public DebugString ( PathLog logMode ) : string
logMode PathLog
리턴 string

GetConnectionSpecialCost() 공개 메소드

public GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
a GraphNode
b GraphNode
currentCost uint
리턴 uint

GetMovementVector() 공개 메소드

public GetMovementVector ( Vector3 point ) : Vector3
point UnityEngine.Vector3
리턴 UnityEngine.Vector3

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Prepare() 공개 메소드

public Prepare ( ) : void
리턴 void

Recycle() 보호된 메소드

protected Recycle ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ResetCosts() 공개 메소드

public ResetCosts ( Path p ) : void
p Path
리턴 void

Setup() 보호된 메소드

protected Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
callbackDelegate OnPathDelegate
리턴 void

UpdateStartEnd() 보호된 메소드

protected UpdateStartEnd ( Vector3 start, Vector3 end ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
리턴 void

프로퍼티 상세

calculatePartial 공개적으로 프로퍼티

public bool calculatePartial
리턴 bool

endHint 공개적으로 프로퍼티

public GraphNode,Pathfinding endHint
리턴 GraphNode

endNode 공개적으로 프로퍼티

public GraphNode,Pathfinding endNode
리턴 GraphNode

endNodeCosts 보호되어 있는 프로퍼티

protected int[] endNodeCosts
리턴 int[]

endPoint 공개적으로 프로퍼티

public Vector3,UnityEngine endPoint
리턴 UnityEngine.Vector3

hasEndPoint 보호되어 있는 프로퍼티

protected bool hasEndPoint
리턴 bool

originalEndPoint 공개적으로 프로퍼티

public Vector3,UnityEngine originalEndPoint
리턴 UnityEngine.Vector3

originalStartPoint 공개적으로 프로퍼티

public Vector3,UnityEngine originalStartPoint
리턴 UnityEngine.Vector3

partialBestTarget 보호되어 있는 프로퍼티

protected PathNode partialBestTarget
리턴 PathNode

recalcStartEndCosts 공개적으로 프로퍼티

public bool recalcStartEndCosts
리턴 bool

startHint 공개적으로 프로퍼티

public GraphNode,Pathfinding startHint
리턴 GraphNode

startIntPoint 공개적으로 프로퍼티

public Int3,Pathfinding startIntPoint
리턴 Int3

startNode 공개적으로 프로퍼티

public GraphNode,Pathfinding startNode
리턴 GraphNode

startPoint 공개적으로 프로퍼티

public Vector3,UnityEngine startPoint
리턴 UnityEngine.Vector3