C# Class PathfindingManager, Unity-AI-framework

Inheritance: MonoBehaviour
ファイルを表示 Open project: MyOwnClone/Unity-AI-framework Class Usage Examples

Public Properties

Property Type Description
gridCreated bool
maxPathFindingPerSecond int
reset bool
solvedPath List

Public Methods

Method Description
Awake ( ) : void
Closest ( List inNodes, Vector3 toPoint ) : int
Draw ( int startPoint, int endPoint, Color inColor ) : void
GetPath ( PathNode, start, PathNode, end ) : List
InitGrid ( ) : void
RequestPath ( PathfindingRequest, req, bool &result ) : List
Update ( ) : void

Private Methods

Method Description
FindRequest ( PathfindingRequest, req ) : PathfindingRequest,

Method Details

Awake() public method

public Awake ( ) : void
return void

Closest() public static method

public static Closest ( List inNodes, Vector3 toPoint ) : int
inNodes List
toPoint Vector3
return int

Draw() public method

public Draw ( int startPoint, int endPoint, Color inColor ) : void
startPoint int
endPoint int
inColor Color
return void

GetPath() public method

public GetPath ( PathNode, start, PathNode, end ) : List
start PathNode,
end PathNode,
return List

InitGrid() public method

public InitGrid ( ) : void
return void

RequestPath() public method

public RequestPath ( PathfindingRequest, req, bool &result ) : List
req PathfindingRequest,
result bool
return List

Update() public method

public Update ( ) : void
return void

Property Details

gridCreated public_oe property

public bool gridCreated
return bool

maxPathFindingPerSecond public_oe property

public int maxPathFindingPerSecond
return int

reset public_oe property

public bool reset
return bool

solvedPath public_oe property

public List solvedPath
return List