C# Class GameManager1, VRCubeSword

Inheritance: MonoBehaviour
Mostrar archivo Open project: VirsixInc/VRCubeSword Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
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

Method Details

AddScore() public method

public AddScore ( TargetInfo, ti ) : void
ti TargetInfo,
return void

AddScoreText() public method

public AddScoreText ( Vector3 pos ) : void
pos Vector3
return void

AddSound() public method

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

CompletePhase() public method

public CompletePhase ( ) : void
return void

GetDistFromCenter() public method

public GetDistFromCenter ( ) : float
return float

GetPhase() public method

public GetPhase ( ) : string
return string

GetPlayerHeight() public method

public GetPlayerHeight ( ) : float
return float

GetRound() public method

public GetRound ( ) : int
return int

GetSprayCount() public method

public GetSprayCount ( ) : int
return int

NextRound() public method

public NextRound ( ) : void
return void

SpawnerHit() public method

public SpawnerHit ( ) : void
return void

Start() public method

public Start ( ) : void
return void

SwitchPhase() public method

public SwitchPhase ( Phase, p ) : void
p Phase,
return void

SwitchState() public method

public SwitchState ( GameState, gs ) : void
gs GameState,
return void

Update() public method

public Update ( ) : void
return void

Property Details

baseNumBadTargets public_oe property

public int baseNumBadTargets
return int

baseNumSparys public_oe property

public int baseNumSparys
return int

baseNumVolleys public_oe property

public int baseNumVolleys
return int

cameraHolder public_oe property

public GameObject cameraHolder
return GameObject

chef public_oe property

public GameObject chef
return GameObject

countDownText public_oe property

public Text countDownText
return Text

debugMode public_oe property

public bool debugMode
return bool

debugSword public_oe property

public GameObject debugSword
return GameObject

disableGameTimer public_oe property

public bool disableGameTimer
return bool

gameMusic public_oe property

public AudioSource,UnityEngine gameMusic
return UnityEngine.AudioSource

gameOverBackground public_oe property

public Image gameOverBackground
return Image

gameOverText public_oe property

public Text gameOverText
return Text

gridMats public_oe property

public List gridMats
return List

holoDeckSound public_oe property

public AudioSource,UnityEngine holoDeckSound
return UnityEngine.AudioSource

numRounds public_oe property

public int numRounds
return int

scoreText public_oe property

public Text scoreText
return Text

sliceAudio public_oe property

public AudioSource,UnityEngine sliceAudio
return UnityEngine.AudioSource

spawnerManager public_oe property

public SpawnerManager, spawnerManager
return SpawnerManager,

subtitleText public_oe property

public Text subtitleText
return Text

timeText public_oe property

public Text timeText
return Text