Property | Type | Description | |
---|---|---|---|
heightOffset | float | ||
length | float | ||
maxSpawnTime | float | ||
speed | float | ||
startOffset | float | ||
vehiclePrefabs | GameObject[] |
Method | Description | |
---|---|---|
InstantiateVehicle ( int vehicleIndex ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
GetPositionOffset ( ) : Vector3 | ||
Spawn ( ) : IEnumerator |
public InstantiateVehicle ( int vehicleIndex ) : void | ||
vehicleIndex | int | |
return | void |