C# Class RunWithPath, VRDesignLab

Inheritance: MonoBehaviour
Show file Open project: VRUX-CO/VRDesignLab Class Usage Examples

Public Properties

Property Type Description
Speed float
StartPathId int
TurnPerPoint float
Wheels Transform[]
trackPieces TrackPiece[]

Public Methods

Method Description
GetPost ( int _NowPathID ) : void
Update ( ) : void

Protected Methods

Method Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
FormAngles ( float OriAngle, float NowAngle ) : float

Method Details

Awake() protected method

protected Awake ( ) : void
return void

GetPost() public method

public GetPost ( int _NowPathID ) : void
_NowPathID int
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Speed public property

public float Speed
return float

StartPathId public property

public int StartPathId
return int

TurnPerPoint public property

public float TurnPerPoint
return float

Wheels public property

public Transform[] Wheels
return Transform[]

trackPieces public property

public TrackPiece[] trackPieces
return TrackPiece[]