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.RegionSpawnLibraryInspector Class Reference

Custom inspector for RegionSpawnLibrary. More...

Inheritance diagram for MegaCrush.Spawner.RegionSpawnLibraryInspector:

Public Member Functions

override void OnInspectorGUI ()
 

Private Member Functions

void OnEnable ()
 
void InitializeRule (SerializedProperty ruleProp)
 
void SortRulesByMinStep ()
 
void ValidateLibrary (RegionSpawnLibrary lib)
 

Private Attributes

SerializedProperty pRules
 
SerializedProperty pFallback
 
ReorderableList _rulesList
 
ReorderableList _fallbackList
 

Detailed Description

Custom inspector for RegionSpawnLibrary.

  • Header banner
  • ReorderableList for rules (struct) drawn with full child properties
  • ReorderableList for fallback entries

Member Function Documentation

◆ InitializeRule()

void MegaCrush.Spawner.RegionSpawnLibraryInspector.InitializeRule ( SerializedProperty ruleProp)
private

◆ OnEnable()

void MegaCrush.Spawner.RegionSpawnLibraryInspector.OnEnable ( )
private

◆ OnInspectorGUI()

override void MegaCrush.Spawner.RegionSpawnLibraryInspector.OnInspectorGUI ( )

◆ SortRulesByMinStep()

void MegaCrush.Spawner.RegionSpawnLibraryInspector.SortRulesByMinStep ( )
private

◆ ValidateLibrary()

void MegaCrush.Spawner.RegionSpawnLibraryInspector.ValidateLibrary ( RegionSpawnLibrary lib)
private

Member Data Documentation

◆ _fallbackList

ReorderableList MegaCrush.Spawner.RegionSpawnLibraryInspector._fallbackList
private

◆ _rulesList

ReorderableList MegaCrush.Spawner.RegionSpawnLibraryInspector._rulesList
private

◆ pFallback

SerializedProperty MegaCrush.Spawner.RegionSpawnLibraryInspector.pFallback
private

◆ pRules

SerializedProperty MegaCrush.Spawner.RegionSpawnLibraryInspector.pRules
private

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