Method ReleaseInstance
ReleaseInstance(ResourceManager, GameObject)
Destroy the instance and release one ref count on the operaiton handle
Declaration
public void ReleaseInstance(ResourceManager resourceManager, GameObject instance)
Parameters
Type | Name | Description |
---|---|---|
ResourceManager | resourceManager | The resource manager used to instantiate the GameObject |
GameObject | instance | The instance GameObject to destroy |