C# 클래스 RaceInfo, racing_game

상속: MonoBehaviour
파일 보기 프로젝트 열기: Rarau/racing_game 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
carController CarController,
cumulativeLapTimes float
gear int
gm GameManager,
lap int
lapTimer float
lapTimes List
lastCheckpoint int
position Vector3
racePosition int
rotation Quaternion
speed float

공개 메소드들

메소드 설명
GetLap ( ) : int
GetLastCheckpoint ( ) : int
GetOverallRaceTime ( ) : float
SaveLapTime ( ) : void
SetLap ( int currentLap ) : void
SetLapTimer ( float lapTime ) : void
SetLastCheckpoint ( int checkpoint ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CarStuck ( ) : IEnumerator
IsFlipped ( ) : bool

메소드 상세

GetLap() 공개 메소드

public GetLap ( ) : int
리턴 int

GetLastCheckpoint() 공개 메소드

public GetLastCheckpoint ( ) : int
리턴 int

GetOverallRaceTime() 공개 메소드

public GetOverallRaceTime ( ) : float
리턴 float

SaveLapTime() 공개 메소드

public SaveLapTime ( ) : void
리턴 void

SetLap() 공개 메소드

public SetLap ( int currentLap ) : void
currentLap int
리턴 void

SetLapTimer() 공개 메소드

public SetLapTimer ( float lapTime ) : void
lapTime float
리턴 void

SetLastCheckpoint() 공개 메소드

public SetLastCheckpoint ( int checkpoint ) : void
checkpoint int
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

carController 공개적으로 프로퍼티

public CarController, carController
리턴 CarController,

cumulativeLapTimes 공개적으로 프로퍼티

public float cumulativeLapTimes
리턴 float

gear 공개적으로 프로퍼티

public int gear
리턴 int

gm 공개적으로 프로퍼티

public GameManager, gm
리턴 GameManager,

lap 공개적으로 프로퍼티

public int lap
리턴 int

lapTimer 공개적으로 프로퍼티

public float lapTimer
리턴 float

lapTimes 공개적으로 프로퍼티

public List lapTimes
리턴 List

lastCheckpoint 공개적으로 프로퍼티

public int lastCheckpoint
리턴 int

position 공개적으로 프로퍼티

public Vector3 position
리턴 Vector3

racePosition 공개적으로 프로퍼티

public int racePosition
리턴 int

rotation 공개적으로 프로퍼티

public Quaternion rotation
리턴 Quaternion

speed 공개적으로 프로퍼티

public float speed
리턴 float