C# Class RaceManager, KestrelFPV

Inheritance: MonoBehaviour
Show file Open project: eleurent/KestrelFPV Class Usage Examples

Public Properties

Property Type Description
gates GameObject[]
lapText Text
numberOfLaps int
raceStarted bool
scoreCanvas GameObject
timeCanvas GameObject
timeText Text

Public Methods

Method Description
NextGate ( ) : void
NextLap ( ) : void
PreviousGatePosition ( ) : Transform
ResetMyScore ( ) : void
SetLapText ( string s ) : void
SetTextColor ( Color c ) : void
SetTimeText ( string s ) : void
Start ( ) : void
StartRace ( ) : void
StopRace ( ) : void
Update ( ) : void

Method Details

NextGate() public method

public NextGate ( ) : void
return void

NextLap() public method

public NextLap ( ) : void
return void

PreviousGatePosition() public method

public PreviousGatePosition ( ) : Transform
return Transform

ResetMyScore() public method

public ResetMyScore ( ) : void
return void

SetLapText() public method

public SetLapText ( string s ) : void
s string
return void

SetTextColor() public method

public SetTextColor ( Color c ) : void
c Color
return void

SetTimeText() public method

public SetTimeText ( string s ) : void
s string
return void

Start() public method

public Start ( ) : void
return void

StartRace() public method

public StartRace ( ) : void
return void

StopRace() public method

public StopRace ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

gates public property

public GameObject[] gates
return GameObject[]

lapText public property

public Text lapText
return Text

numberOfLaps public property

public int numberOfLaps
return int

raceStarted public property

public bool raceStarted
return bool

scoreCanvas public property

public GameObject scoreCanvas
return GameObject

timeCanvas public property

public GameObject timeCanvas
return GameObject

timeText public property

public Text timeText
return Text