Interface IInstanceProvider
Interface that provides instances of objects. This is used in ResourceManager.Instantiate* calls.
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Assembly: Unity.ResourceManager.dll
Syntax
public interface IInstanceProvider
Methods
| Name | Description |
|---|---|
| ProvideInstance(ResourceManager, AsyncOperationHandle<GameObject>, InstantiationParameters) | Provide an instance of the gameobject contained in the prefabHandle. |
| ReleaseInstance(ResourceManager, GameObject) | Release an instance. |