docs.unity.cn
    Show / Hide Table of Contents

    Interface IInstanceProvider

    Interface that provides instances of objects. This is used in ResourceManager.Instantiate* calls.

    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use