Property | Type | Description | |
---|---|---|---|
passengerPrefab | |||
pooledAmount | int | ||
spawnOffset | |||
waveCooldown | float | ||
waveSize | int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
OnTriggerStay ( |
Called when an object enters this trigger.
|
|
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
IsPlayer ( |
Returns whether the input collider is a player.
|
|
SpawnPassengerFor ( |
Spawns a passenger slightly above the input transform.
|
public OnTriggerStay ( |
||
a_other | ||
return | void |
public GameObject,UnityEngine passengerPrefab | ||
return |