C# 클래스 GameManager1, VRCubeSword

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

공개 프로퍼티들

프로퍼티 타입 설명
baseNumBadTargets int
baseNumSparys int
baseNumVolleys int
cameraHolder GameObject
chef GameObject
countDownText Text
debugMode bool
debugSword GameObject
disableGameTimer bool
gameMusic UnityEngine.AudioSource
gameOverBackground Image
gameOverText Text
gridMats List
holoDeckSound UnityEngine.AudioSource
numRounds int
scoreText Text
sliceAudio UnityEngine.AudioSource
spawnerManager SpawnerManager,
subtitleText Text
timeText Text

공개 메소드들

메소드 설명
AddScore ( TargetInfo, ti ) : void
AddScoreText ( Vector3 pos ) : void
AddSound ( Vector3 pos, string targetName, bool addParticles = false ) : void
CompletePhase ( ) : void
GetDistFromCenter ( ) : float
GetPhase ( ) : string
GetPlayerHeight ( ) : float
GetRound ( ) : int
GetSprayCount ( ) : int
NextRound ( ) : void
SpawnerHit ( ) : void
Start ( ) : void
SwitchPhase ( Phase, p ) : void
SwitchState ( GameState, gs ) : void
Update ( ) : void

메소드 상세

AddScore() 공개 메소드

public AddScore ( TargetInfo, ti ) : void
ti TargetInfo,
리턴 void

AddScoreText() 공개 메소드

public AddScoreText ( Vector3 pos ) : void
pos Vector3
리턴 void

AddSound() 공개 메소드

public AddSound ( Vector3 pos, string targetName, bool addParticles = false ) : void
pos Vector3
targetName string
addParticles bool
리턴 void

CompletePhase() 공개 메소드

public CompletePhase ( ) : void
리턴 void

GetDistFromCenter() 공개 메소드

public GetDistFromCenter ( ) : float
리턴 float

GetPhase() 공개 메소드

public GetPhase ( ) : string
리턴 string

GetPlayerHeight() 공개 메소드

public GetPlayerHeight ( ) : float
리턴 float

GetRound() 공개 메소드

public GetRound ( ) : int
리턴 int

GetSprayCount() 공개 메소드

public GetSprayCount ( ) : int
리턴 int

NextRound() 공개 메소드

public NextRound ( ) : void
리턴 void

SpawnerHit() 공개 메소드

public SpawnerHit ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

SwitchPhase() 공개 메소드

public SwitchPhase ( Phase, p ) : void
p Phase,
리턴 void

SwitchState() 공개 메소드

public SwitchState ( GameState, gs ) : void
gs GameState,
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

baseNumBadTargets 공개적으로 프로퍼티

public int baseNumBadTargets
리턴 int

baseNumSparys 공개적으로 프로퍼티

public int baseNumSparys
리턴 int

baseNumVolleys 공개적으로 프로퍼티

public int baseNumVolleys
리턴 int

cameraHolder 공개적으로 프로퍼티

public GameObject cameraHolder
리턴 GameObject

chef 공개적으로 프로퍼티

public GameObject chef
리턴 GameObject

countDownText 공개적으로 프로퍼티

public Text countDownText
리턴 Text

debugMode 공개적으로 프로퍼티

public bool debugMode
리턴 bool

debugSword 공개적으로 프로퍼티

public GameObject debugSword
리턴 GameObject

disableGameTimer 공개적으로 프로퍼티

public bool disableGameTimer
리턴 bool

gameMusic 공개적으로 프로퍼티

public AudioSource,UnityEngine gameMusic
리턴 UnityEngine.AudioSource

gameOverBackground 공개적으로 프로퍼티

public Image gameOverBackground
리턴 Image

gameOverText 공개적으로 프로퍼티

public Text gameOverText
리턴 Text

gridMats 공개적으로 프로퍼티

public List gridMats
리턴 List

holoDeckSound 공개적으로 프로퍼티

public AudioSource,UnityEngine holoDeckSound
리턴 UnityEngine.AudioSource

numRounds 공개적으로 프로퍼티

public int numRounds
리턴 int

scoreText 공개적으로 프로퍼티

public Text scoreText
리턴 Text

sliceAudio 공개적으로 프로퍼티

public AudioSource,UnityEngine sliceAudio
리턴 UnityEngine.AudioSource

spawnerManager 공개적으로 프로퍼티

public SpawnerManager, spawnerManager
리턴 SpawnerManager,

subtitleText 공개적으로 프로퍼티

public Text subtitleText
리턴 Text

timeText 공개적으로 프로퍼티

public Text timeText
리턴 Text