C# Class Path.PathBuilder

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: juliancruz87/madbricks

Public Properties

Property Type Description
debugColor Color
debugModeOn bool
debugOffset Vector3
maxNodeDistance float

Public Methods

Method Description
GetNearsetNode ( Vector3 position ) : Node
GetNodeById ( int id ) : Node
Update ( ) : void

Private Methods

Method Description
AddConnectionInDirection ( Node node, Vector3 direcion ) : Node
Awake ( ) : void
BuildConnections ( ) : void
DrawDebugLines ( ) : void
Start ( ) : void

Method Details

GetNearsetNode() public method

public GetNearsetNode ( Vector3 position ) : Node
position Vector3
return Node

GetNodeById() public method

public GetNodeById ( int id ) : Node
id int
return Node

Update() public method

public Update ( ) : void
return void

Property Details

debugColor public property

public Color debugColor
return Color

debugModeOn public property

public bool debugModeOn
return bool

debugOffset public property

public Vector3 debugOffset
return Vector3

maxNodeDistance public property

public float maxNodeDistance
return float