Свойство | Тип | Описание | |
---|---|---|---|
heightOffset | float | ||
length | float | ||
maxSpawnTime | float | ||
speed | float | ||
startOffset | float | ||
vehiclePrefabs | GameObject[] |
Метод | Описание | |
---|---|---|
InstantiateVehicle ( int vehicleIndex ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
GetPositionOffset ( ) : Vector3 | ||
Spawn ( ) : IEnumerator |
public InstantiateVehicle ( int vehicleIndex ) : void | ||
vehicleIndex | int | |
Результат | void |