C# Class SpawnerManager, VRCubeSword

Inheritance: MonoBehaviour
显示文件 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_oe property

public List badTargetPrefabs
return List

gameGravity public_oe property

public float gameGravity
return float

gm public_oe property

public GameManager1, gm
return GameManager1,

numSpawners public_oe property

public int numSpawners
return int

spawnerPrefab public_oe property

public GameObject spawnerPrefab
return GameObject

targetPrefabs public_oe property

public List targetPrefabs
return List

timeToPlayer public_oe property

public float timeToPlayer
return float