LayerProcGen v0.1.0
Layer-based infinite procedural generation
|
A GameObject destruction to enqueue to be performed on the main thread. More...
Inherits IQueuedAction.
Public Member Functions | |
void | Process () |
Called by MainThreadActionQueue. | |
Static Public Member Functions | |
static void | Enqueue (TransformWrapper tr, bool destroyMeshes) |
Enqueue destruction on the main thread of the GameObject wrapped in the TransformWrapper. | |
Public Attributes | |
bool | destroyMeshes |
TransformWrapper | transform |
A GameObject destruction to enqueue to be performed on the main thread.
|
static |
Enqueue destruction on the main thread of the GameObject wrapped in the TransformWrapper.
tr | The TransformWrapper wrapping the Transform of the GameObject. |
destroyMeshes | If true, MeshFilter components are searched for non-persistent meshes, and these will be destroyed too. |
void Process | ( | ) |
Called by MainThreadActionQueue.
Implements IQueuedAction.