C# Class Pathfinding.ConstantPath

Inheritance: Path
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
allNodes List
endingCondition PathEndingCondition
originalStartPoint Vector3
startNode GraphNode
startPoint Vector3

Public Methods

Method Description
CalculateStep ( long targetTick ) : void
Cleanup ( ) : void
ConstantPath ( ) : UnityEngine
Construct ( Vector3 start, int maxGScore, OnPathDelegate callback = null ) : ConstantPath
Initialize ( ) : void
OnEnterPool ( ) : void
Prepare ( ) : void
Reset ( ) : void

Protected Methods

Method Description
Recycle ( ) : void
Setup ( Vector3 start, int maxGScore, OnPathDelegate callback ) : void

Private Methods

Method Description
ConstantPath ( Vector3 start, OnPathDelegate callbackDelegate ) : UnityEngine
ConstantPath ( Vector3 start, int maxGScore, OnPathDelegate callbackDelegate ) : UnityEngine

Method Details

CalculateStep() public method

public CalculateStep ( long targetTick ) : void
targetTick long
return void

Cleanup() public method

public Cleanup ( ) : void
return void

ConstantPath() public method

public ConstantPath ( ) : UnityEngine
return UnityEngine

Construct() public static method

public static Construct ( Vector3 start, int maxGScore, OnPathDelegate callback = null ) : ConstantPath
start Vector3
maxGScore int
callback OnPathDelegate
return ConstantPath

Initialize() public method

public Initialize ( ) : void
return void

OnEnterPool() public method

public OnEnterPool ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

Recycle() protected method

protected Recycle ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Setup() protected method

protected Setup ( Vector3 start, int maxGScore, OnPathDelegate callback ) : void
start Vector3
maxGScore int
callback OnPathDelegate
return void

Property Details

allNodes public_oe property

public List allNodes
return List

endingCondition public_oe property

public PathEndingCondition,Pathfinding endingCondition
return PathEndingCondition

originalStartPoint public_oe property

public Vector3 originalStartPoint
return Vector3

startNode public_oe property

public GraphNode,Pathfinding startNode
return GraphNode

startPoint public_oe property

public Vector3 startPoint
return Vector3