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.
Loading...
Searching...
No Matches
MegaCrush.Spawner.IntensityProfile Class Reference

Scriptable profile that defines how spawning intensity progresses over time or via manual steps. Each Step configures caps and rate multipliers applied by SpawnDirector. More...

Inheritance diagram for MegaCrush.Spawner.IntensityProfile:

Classes

class  Step
 A single intensity step applied while active. More...
 

Public Types

enum  AdvanceMode { Manual , AutoByTime }
 How steps advance: manually via API calls, or automatically on a timer. More...
 

Public Attributes

AdvanceMode advance = AdvanceMode.Manual
 
float secondsPerStep = 30f
 
List< Stepsteps = new()
 Ordered list of steps. Index increases with intensity (by convention).
 

Detailed Description

Scriptable profile that defines how spawning intensity progresses over time or via manual steps. Each Step configures caps and rate multipliers applied by SpawnDirector.

Member Enumeration Documentation

◆ AdvanceMode

How steps advance: manually via API calls, or automatically on a timer.

Enumerator
Manual 

Steps only change when requested by code (e.g., SpawnDirector.StepUp(int)).

AutoByTime 

Steps advance automatically every secondsPerStep seconds.

Member Data Documentation

◆ advance

AdvanceMode MegaCrush.Spawner.IntensityProfile.advance = AdvanceMode.Manual

◆ secondsPerStep

float MegaCrush.Spawner.IntensityProfile.secondsPerStep = 30f

◆ steps

List<Step> MegaCrush.Spawner.IntensityProfile.steps = new()

Ordered list of steps. Index increases with intensity (by convention).


The documentation for this class was generated from the following file: