![]() |
Runtime Spawner 1.2.5
Generic Runtime spawn and instance pooling system for spawning random AI agents around a map. Works with ANY AI system easily.
|
Global configuration asset for the Runtime Spawner system. Stores editor-only visualization colors and is saved as a project-wide ScriptableObject so all scenes share consistent debug styling. More...
Static Public Member Functions | |
static RuntimeSpawnerSettings | GetOrCreateSettings () |
Finds an existing settings asset anywhere in the project. If none exists, prompts the user to choose a save location and creates it there. | |
static SerializedObject | GetSerializedSettings () |
Returns a SerializedObject wrapper for custom inspectors. | |
Public Attributes | |
Color | worldExtentsColor = new(0f, 0f, 0.9f, 0.5f) |
Scene gizmo color for world extents volume. | |
Color | localAreaSpawnerColor = new(0f, 0.9f, 0f, 0.5f) |
Scene gizmo color for local area spawner volumes. | |
Color | waveTriggerColor = new(0.9f, 0.5f, 0f, 0.5f) |
Scene gizmo color for wave trigger volumes. | |
Color | waveSpawnpointColor = new(1f, 0f, 0f, 1f) |
Scene gizmo color for wave spawnpoint markers. | |
Static Private Member Functions | |
static void | OpenSettingsAsset () |
Convenience menu to open/select the settings asset (creates it if missing). | |
Global configuration asset for the Runtime Spawner system. Stores editor-only visualization colors and is saved as a project-wide ScriptableObject so all scenes share consistent debug styling.
This asset is primarily used for editor gizmos and visualization only. It does not affect runtime spawning behavior. End users typically do not need to interact with or modify this file at runtime.
|
static |
Finds an existing settings asset anywhere in the project. If none exists, prompts the user to choose a save location and creates it there.
|
static |
Returns a SerializedObject wrapper for custom inspectors.
|
staticprivate |
Convenience menu to open/select the settings asset (creates it if missing).
Color MegaCrush.Spawner.RuntimeSpawnerSettings.localAreaSpawnerColor = new(0f, 0.9f, 0f, 0.5f) |
Scene gizmo color for local area spawner volumes.
Color MegaCrush.Spawner.RuntimeSpawnerSettings.waveSpawnpointColor = new(1f, 0f, 0f, 1f) |
Scene gizmo color for wave spawnpoint markers.
Color MegaCrush.Spawner.RuntimeSpawnerSettings.waveTriggerColor = new(0.9f, 0.5f, 0f, 0.5f) |
Scene gizmo color for wave trigger volumes.
Color MegaCrush.Spawner.RuntimeSpawnerSettings.worldExtentsColor = new(0f, 0f, 0.9f, 0.5f) |
Scene gizmo color for world extents volume.