Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
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.
virtual void Spawn ()
 Spawns a single object and positions it correctly.

Public Attributes

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

Protected Member Functions

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

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: