Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMSpawnAroundTester Class Reference

A tester class used to show how the MMSpawnAround class can be used More...

Inheritance diagram for MoreMountains.Tools.MMSpawnAroundTester:

Public Member Functions

virtual void DebugSpawn ()
 A test method that spawns DebugQuantity objects More...
 
virtual void Spawn ()
 Spawns a single object and positions it correctly More...
 

Public Attributes

GameObject ObjectToInstantiate
 a GameObject to instantiate and position around this object More...
 
MMSpawnAroundProperties SpawnProperties
 the spawn properties to consider when spawning the ObjectToInstantiate More...
 
int DebugQuantity = 10000
 the amount of objects to spawn More...
 
bool DebugSpawnButton
 a test button More...
 
bool DrawGizmos = false
 whether or not to draw gizmos to show the shape of the spawn area More...
 
int GizmosQuantity = 1000
 the amount of gizmos to draw More...
 
float GizmosSize = 1f
 the size at which to draw the gizmos More...
 

Protected Member Functions

virtual void OnDrawGizmos ()
 OnDrawGizmos, we draw the shape of the area within which objects will spawn More...
 

Protected Attributes

GameObject _gameObject
 

Detailed Description

A tester class used to show how the MMSpawnAround class can be used

Member Function Documentation

◆ DebugSpawn()

virtual void MoreMountains.Tools.MMSpawnAroundTester.DebugSpawn ( )
virtual

A test method that spawns DebugQuantity objects

◆ OnDrawGizmos()

virtual void MoreMountains.Tools.MMSpawnAroundTester.OnDrawGizmos ( )
protectedvirtual

OnDrawGizmos, we draw the shape of the area within which objects will spawn

◆ Spawn()

virtual void MoreMountains.Tools.MMSpawnAroundTester.Spawn ( )
virtual

Spawns a single object and positions it correctly

Member Data Documentation

◆ _gameObject

GameObject MoreMountains.Tools.MMSpawnAroundTester._gameObject
protected

◆ DebugQuantity

int MoreMountains.Tools.MMSpawnAroundTester.DebugQuantity = 10000

the amount of objects to spawn

◆ DebugSpawnButton

bool MoreMountains.Tools.MMSpawnAroundTester.DebugSpawnButton

a test button

◆ DrawGizmos

bool MoreMountains.Tools.MMSpawnAroundTester.DrawGizmos = false

whether or not to draw gizmos to show the shape of the spawn area

◆ GizmosQuantity

int MoreMountains.Tools.MMSpawnAroundTester.GizmosQuantity = 1000

the amount of gizmos to draw

◆ GizmosSize

float MoreMountains.Tools.MMSpawnAroundTester.GizmosSize = 1f

the size at which to draw the gizmos

◆ ObjectToInstantiate

GameObject MoreMountains.Tools.MMSpawnAroundTester.ObjectToInstantiate

a GameObject to instantiate and position around this object

◆ SpawnProperties

MMSpawnAroundProperties MoreMountains.Tools.MMSpawnAroundTester.SpawnProperties

the spawn properties to consider when spawning the ObjectToInstantiate


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