C# Class VehicleSpawner, 04_Squashy-Toad-VR

Inheritance: Spawner
Mostrar archivo Open project: VirtualRealityDesigner/Squashy-Toad-VR Class Usage Examples

Public Properties

Property Type Description
heightOffset float
length float
maxSpawnTime float
speed float
startOffset float
vehiclePrefabs GameObject[]

Public Methods

Method Description
InstantiateVehicle ( int vehicleIndex ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GetPositionOffset ( ) : Vector3
Spawn ( ) : IEnumerator

Method Details

InstantiateVehicle() public method

public InstantiateVehicle ( int vehicleIndex ) : void
vehicleIndex int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

heightOffset public_oe property

public float heightOffset
return float

length public_oe property

public float length
return float

maxSpawnTime public_oe property

public float maxSpawnTime
return float

speed public_oe property

public float speed
return float

startOffset public_oe property

public float startOffset
return float

vehiclePrefabs public_oe property

public GameObject[] vehiclePrefabs
return GameObject[]