Each object that we spawn has a spawn definition.
More...
|
GameObject | instance |
| Internal - the instance that was spawned.
|
|
Each object that we spawn has a spawn definition.
◆ currentPopulation
int MegaCrush.Spawner.SpawnEntry.currentPopulation = 0 |
◆ instance
GameObject MegaCrush.Spawner.SpawnEntry.instance |
|
private |
Internal - the instance that was spawned.
◆ maxGroupSize
int MegaCrush.Spawner.SpawnEntry.maxGroupSize = 100 |
◆ 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 we are spawning in a group, min / max sizes.
◆ prefab
GameObject MegaCrush.Spawner.SpawnEntry.prefab |
◆ useGroupSpawn
bool MegaCrush.Spawner.SpawnEntry.useGroupSpawn |
Should this object spawn in a group (will use the first object's position and generate an offset from.
The documentation for this class was generated from the following file:
- D:/projects/Asset Store Packages/com.pixelwizards.runtimespawner/Code/Runtime/ScriptableObjects/SpawnEntry.cs