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

Serializable container for an integer range. Drawn in the Inspector with a min–max slider when annotated with MinMaxRangeAttribute. More...

Public Member Functions

 IntRange (int min, int max)
 Creates a new integer range.
 

Public Attributes

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

Detailed Description

Serializable container for an integer range. Drawn in the Inspector with a min–max slider when annotated with MinMaxRangeAttribute.

Constructor & Destructor Documentation

◆ IntRange()

MegaCrush.Spawner.IntRange.IntRange ( int min,
int max )

Creates a new integer range.

Parameters
minMinimum value.
maxMaximum value.

Member Data Documentation

◆ max

int MegaCrush.Spawner.IntRange.max

Maximum value for the range.

◆ min

int MegaCrush.Spawner.IntRange.min

Minimum value for the range.


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