Method SetPayloadState
SetPayloadState(GameObject, bool)
Loads or unloads the given payload object. Throws an exception if game object deos not have a UsdPrimSource behaviour.
Declaration
public void SetPayloadState(GameObject go, bool isLoaded)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | go | |
| bool | isLoaded |