Runtime Spawner 1.5.1
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.RegionPopulationControllerInspector Class Reference

Custom inspector for RegionPopulationController. More...

Inheritance diagram for MegaCrush.Spawner.RegionPopulationControllerInspector:

Public Member Functions

override void OnInspectorGUI ()
 

Private Member Functions

void OnEnable ()
 
void DrawRuntimeTools ()
 

Static Private Member Functions

static SpawnDirector GetDirector (RegionPopulationController c)
 

Private Attributes

SerializedProperty pSpawner
 
SerializedProperty pDirector
 
SerializedProperty pLibrary
 
SerializedProperty pAutoDiscover
 
SerializedProperty pEnableThreshold
 
SerializedProperty pLocalDensityByStep
 
SerializedProperty pUseJitter
 
SerializedProperty pLogChanges
 

Static Private Attributes

static int sPreviewStep = 0
 
static int sPreviewStepsCount = 4
 
static float sPreviewDensity = -1f
 

Detailed Description

Custom inspector for RegionPopulationController.

  • Package header
  • Uses HeaderAttributes from the component (no duplicate labels)
  • Runtime tools to apply a step manually in play mode

Member Function Documentation

◆ DrawRuntimeTools()

void MegaCrush.Spawner.RegionPopulationControllerInspector.DrawRuntimeTools ( )
private

◆ GetDirector()

static SpawnDirector MegaCrush.Spawner.RegionPopulationControllerInspector.GetDirector ( RegionPopulationController c)
staticprivate

◆ OnEnable()

void MegaCrush.Spawner.RegionPopulationControllerInspector.OnEnable ( )
private

◆ OnInspectorGUI()

override void MegaCrush.Spawner.RegionPopulationControllerInspector.OnInspectorGUI ( )

Member Data Documentation

◆ pAutoDiscover

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pAutoDiscover
private

◆ pDirector

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pDirector
private

◆ pEnableThreshold

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pEnableThreshold
private

◆ pLibrary

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pLibrary
private

◆ pLocalDensityByStep

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pLocalDensityByStep
private

◆ pLogChanges

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pLogChanges
private

◆ pSpawner

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pSpawner
private

◆ pUseJitter

SerializedProperty MegaCrush.Spawner.RegionPopulationControllerInspector.pUseJitter
private

◆ sPreviewDensity

float MegaCrush.Spawner.RegionPopulationControllerInspector.sPreviewDensity = -1f
staticprivate

◆ sPreviewStep

int MegaCrush.Spawner.RegionPopulationControllerInspector.sPreviewStep = 0
staticprivate

◆ sPreviewStepsCount

int MegaCrush.Spawner.RegionPopulationControllerInspector.sPreviewStepsCount = 4
staticprivate

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