C# Class RaceManager, KestrelFPV

Inheritance: MonoBehaviour
Exibir arquivo 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_oe property

public GameObject[] gates
return GameObject[]

lapText public_oe property

public Text lapText
return Text

numberOfLaps public_oe property

public int numberOfLaps
return int

raceStarted public_oe property

public bool raceStarted
return bool

scoreCanvas public_oe property

public GameObject scoreCanvas
return GameObject

timeCanvas public_oe property

public GameObject timeCanvas
return GameObject

timeText public_oe property

public Text timeText
return Text