C# Class SpawnerManager, VRCubeSword

Inheritance: MonoBehaviour
Show file Open project: VirsixInc/VRCubeSword Class Usage Examples

Public Properties

Property Type Description
badTargetPrefabs List
gameGravity float
gm GameManager1,
numSpawners int
spawnerPrefab GameObject
targetPrefabs List
timeToPlayer float

Public Methods

Method Description
GetNumSpawners ( ) : int
GetTarget ( ) : GameObject
LastTargetWasBad ( ) : bool
SetBadTargetsPerRound ( int btpr ) : void
SetSpawnsPerRound ( int spr ) : void
Start ( ) : void
ToggleSpawnerActivation ( bool active ) : void
Update ( ) : void

Private Methods

Method Description
GetBadTarget ( ) : GameObject

Method Details

GetNumSpawners() public method

public GetNumSpawners ( ) : int
return int

GetTarget() public method

public GetTarget ( ) : GameObject
return GameObject

LastTargetWasBad() public method

public LastTargetWasBad ( ) : bool
return bool

SetBadTargetsPerRound() public method

public SetBadTargetsPerRound ( int btpr ) : void
btpr int
return void

SetSpawnsPerRound() public method

public SetSpawnsPerRound ( int spr ) : void
spr int
return void

Start() public method

public Start ( ) : void
return void

ToggleSpawnerActivation() public method

public ToggleSpawnerActivation ( bool active ) : void
active bool
return void

Update() public method

public Update ( ) : void
return void

Property Details

badTargetPrefabs public property

public List badTargetPrefabs
return List

gameGravity public property

public float gameGravity
return float

gm public property

public GameManager1, gm
return GameManager1,

numSpawners public property

public int numSpawners
return int

spawnerPrefab public property

public GameObject spawnerPrefab
return GameObject

targetPrefabs public property

public List targetPrefabs
return List

timeToPlayer public property

public float timeToPlayer
return float