Defines how a particular prefab can be spawned by the Runtime Spawner.
More...
|
GameObject | prefab |
| The prefab to spawn.
|
|
int | maxPopulation = 100 |
| How many of this object are allowed at one time.
|
|
int | currentPopulation = 0 |
| Internal counter (not user-editable) of how many are alive.
|
|
bool | useGroupSpawn |
| If true, members of this entry spawn in a group relative to the first member.
|
|
int | minGroupSize = 1 |
| If using group spawns, the minimum group size.
|
|
int | maxGroupSize = 100 |
| If using group spawns, the maximum group size.
|
|
|
GameObject | instance |
| Internal last-spawned instance (not serialized).
|
|
Defines how a particular prefab can be spawned by the Runtime Spawner.
◆ OnValidate()
void MegaCrush.Spawner.SpawnEntry.OnValidate |
( |
| ) |
|
|
private |
◆ currentPopulation
int MegaCrush.Spawner.SpawnEntry.currentPopulation = 0 |
Internal counter (not user-editable) of how many are alive.
◆ instance
GameObject MegaCrush.Spawner.SpawnEntry.instance |
|
private |
Internal last-spawned instance (not serialized).
◆ maxGroupSize
int MegaCrush.Spawner.SpawnEntry.maxGroupSize = 100 |
If using group spawns, the maximum group size.
◆ maxPopulation
int MegaCrush.Spawner.SpawnEntry.maxPopulation = 100 |
How many of this object are allowed at one time.
◆ minGroupSize
int MegaCrush.Spawner.SpawnEntry.minGroupSize = 1 |
If using group spawns, the minimum group size.
◆ prefab
GameObject MegaCrush.Spawner.SpawnEntry.prefab |
◆ useGroupSpawn
bool MegaCrush.Spawner.SpawnEntry.useGroupSpawn |
If true, members of this entry spawn in a group relative to the first member.
The documentation for this class was generated from the following file:
- D:/projects/Asset Store Packages/com.pixelwizards.runtimespawner/Code/Runtime/ScriptableObjects/SpawnEntry.cs