Property | Type | Description | |
---|---|---|---|
gameObject | GameObject | ||
id | |||
updatesBeforeRemoval | int | ||
wasMeshColliderEnabled | bool | ||
wasMeshRendererEnabled | bool |
Method | Description | |
---|---|---|
DecrementUpdatesRemaining ( ) : void |
Decrements the number of updates remaining by one
|
|
RemovedSurfaceHolder ( int updatesBeforeRemoval, GameObject gameObject, |
Constructor for the struct taking all the parameters in
|
|
SetColliderEnabled ( bool colliderEnabled ) : void |
Updates whether to enable the collider if the mesh is re-added
|
|
SetRendererEnabled ( bool rendererEnabled ) : void |
Updates whether to enable the renderer if the mesh is re-added
|
public RemovedSurfaceHolder ( int updatesBeforeRemoval, GameObject gameObject, |
||
updatesBeforeRemoval | int | The number of updates which will pass before this object is removed. |
gameObject | GameObject | The GameObject owner of all of the mesh components |
id | The SurfaceId identifying this surface | |
wasMeshColliderEnabled | bool | Whether or not a MeshCollider was present and enabled |
wasMeshRendererEnabled | bool | Whether or not a MeshRenderer was present and enabled |
return | UnityEngine |
public SetColliderEnabled ( bool colliderEnabled ) : void | ||
colliderEnabled | bool | Whether or not to re-enable the collider if the mesh is re-added |
return | void |
public SetRendererEnabled ( bool rendererEnabled ) : void | ||
rendererEnabled | bool | Whether or not to re-enable the renderer if the mesh is re-added |
return | void |