C# Class Interactive.Detail.TriangleTotem

Inheritance: Totem
Mostra file Open project: juliancruz87/madbricks

Private Properties

Property Type Description
ChoseNodeToGo void
CreateArrow void
GetCloserDegrees float
GoToOtherNode void
MoveToNextNode void
OnTriggerEnter void

Public Methods

Method Description
GetPathPositions ( ) : UnityEngine.Vector3[]

Protected Methods

Method Description
Awake ( ) : void
GetReachedToPoint ( Path.Node, node ) : void
Move ( ) : void
Update ( ) : void

Private Methods

Method Description
ChoseNodeToGo ( List nodes ) : void
CreateArrow ( ) : void
GetCloserDegrees ( float currentDegrees ) : float
GoToOtherNode ( ) : void
MoveToNextNode ( Path.Node, leftNode, Path.Node, rightNode, Vector3 currentEulers, Vector3 turn90Dregrees ) : void
OnTriggerEnter ( Collider collision ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

GetPathPositions() public method

public GetPathPositions ( ) : UnityEngine.Vector3[]
return UnityEngine.Vector3[]

GetReachedToPoint() protected method

protected GetReachedToPoint ( Path.Node, node ) : void
node Path.Node,
return void

Move() protected method

protected Move ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void