Method ReleaseInstance
ReleaseInstance(ResourceManager, GameObject)
Release an instance.
Declaration
public void ReleaseInstance(ResourceManager resourceManager, GameObject instance)
Parameters
Type | Name | Description |
---|---|---|
ResourceManager | resourceManager | The object that contains all the resource locations. |
GameObject | instance | The instance to release. |