Method DestroyState
DestroyState(Dictionary<PolySpatialInstanceID, GameObjectNode>)
Destroys the cloned assets in the specified state map and clears it.
Declaration
public static void DestroyState(Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> state)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> | state | collection of all PolySpatialInstanceIds and GameObjectNodes (can be null, in which case this is a no-op) |