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.FloatRange Struct Reference

Serializable container for a floating-point range. Drawn in the Inspector with a min–max slider when annotated with MinMaxRangeAttribute. More...

Public Member Functions

 FloatRange (float min, float max)
 Creates a new floating-point range.
 

Public Attributes

float min
 Minimum value for the range.
 
float max
 Maximum value for the range.
 

Detailed Description

Serializable container for a floating-point range. Drawn in the Inspector with a min–max slider when annotated with MinMaxRangeAttribute.

Constructor & Destructor Documentation

◆ FloatRange()

MegaCrush.Spawner.FloatRange.FloatRange ( float min,
float max )

Creates a new floating-point range.

Parameters
minMinimum value.
maxMaximum value.

Member Data Documentation

◆ max

float MegaCrush.Spawner.FloatRange.max

Maximum value for the range.

◆ min

float MegaCrush.Spawner.FloatRange.min

Minimum value for the range.


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