Method ProvideInstance
ProvideInstance(ResourceManager, AsyncOperationHandle<GameObject>, InstantiationParameters)
Provide an instance of the gameobject contained in the prefabHandle.
선언
GameObject ProvideInstance(ResourceManager resourceManager, AsyncOperationHandle<GameObject> prefabHandle, InstantiationParameters instantiateParameters)
파라미터
타입 | 이름 | 설명 |
---|---|---|
ResourceManager | resourceManager | The object that contains all the resource locations. |
AsyncOperationHandle<GameObject> | prefabHandle | The operation handle for the prefab to instantiate. |
InstantiationParameters | instantiateParameters | The parameters to use for instantation. |
반환
타입 | 설명 |
---|---|
GameObject | The instantiated object. |