C# Class Path.PathBuilder

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 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_oe property

public Color debugColor
return Color

debugModeOn public_oe property

public bool debugModeOn
return bool

debugOffset public_oe property

public Vector3 debugOffset
return Vector3

maxNodeDistance public_oe property

public float maxNodeDistance
return float