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.MinMaxRangeDrawer Class Reference
Inheritance diagram for MegaCrush.Spawner.MinMaxRangeDrawer:

Public Member Functions

override float GetPropertyHeight (SerializedProperty property, GUIContent label)
 
override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
 

Static Private Member Functions

static bool TryGetMinMax (SerializedProperty prop, out float min, out float max, out bool isInt)
 
static void ApplyMinMax (SerializedProperty prop, float min, float max, bool isInt)
 

Static Private Attributes

const float FIELD_WIDTH = 50f
 
const float GAP = 4f
 

Member Function Documentation

◆ ApplyMinMax()

static void MegaCrush.Spawner.MinMaxRangeDrawer.ApplyMinMax ( SerializedProperty prop,
float min,
float max,
bool isInt )
staticprivate

◆ GetPropertyHeight()

override float MegaCrush.Spawner.MinMaxRangeDrawer.GetPropertyHeight ( SerializedProperty property,
GUIContent label )

◆ OnGUI()

override void MegaCrush.Spawner.MinMaxRangeDrawer.OnGUI ( Rect position,
SerializedProperty property,
GUIContent label )

◆ TryGetMinMax()

static bool MegaCrush.Spawner.MinMaxRangeDrawer.TryGetMinMax ( SerializedProperty prop,
out float min,
out float max,
out bool isInt )
staticprivate

Member Data Documentation

◆ FIELD_WIDTH

const float MegaCrush.Spawner.MinMaxRangeDrawer.FIELD_WIDTH = 50f
staticprivate

◆ GAP

const float MegaCrush.Spawner.MinMaxRangeDrawer.GAP = 4f
staticprivate

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