Class SyncPrefabImporter | Unity Reflect | 1.3.0-preview.104
docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncPrefabImporter

    Inheritance
    Object
    SyncPrefabImporter
    Namespace: UnityEngine.Reflect
    Syntax
    public class SyncPrefabImporter

    Constructors

    SyncPrefabImporter(Boolean, String[])

    Declaration
    public SyncPrefabImporter(bool importLights, params string[] sources)
    Parameters
    Type Name Description
    Boolean importLights
    String[] sources

    Methods

    CreateInstance(Transform, SyncObjectInstance)

    Declaration
    public SyncObjectBinding CreateInstance(Transform root, SyncObjectInstance instance)
    Parameters
    Type Name Description
    Transform root
    SyncObjectInstance instance
    Returns
    Type Description
    SyncObjectBinding

    CreateInstance(Transform, SyncObjectInstance, IObjectCache)

    Declaration
    public static SyncObjectBinding CreateInstance(Transform root, SyncObjectInstance instance, IObjectCache objectCache)
    Parameters
    Type Name Description
    Transform root
    SyncObjectInstance instance
    IObjectCache objectCache
    Returns
    Type Description
    SyncObjectBinding

    CreateSyncPrefab(Transform, SyncPrefab)

    Declaration
    public static Transform CreateSyncPrefab(Transform parent, SyncPrefab syncPrefab)
    Parameters
    Type Name Description
    Transform parent
    SyncPrefab syncPrefab
    Returns
    Type Description
    Transform

    Import(SyncPrefab, IObjectCache)

    Declaration
    public static Transform Import(SyncPrefab syncPrefab, IObjectCache objectCache)
    Parameters
    Type Name Description
    SyncPrefab syncPrefab
    IObjectCache objectCache
    Returns
    Type Description
    Transform

    ReimportElement(String)

    Declaration
    public List<GameObject> ReimportElement(string key)
    Parameters
    Type Name Description
    String key
    Returns
    Type Description
    List<GameObject>

    ReimportMaterial(String)

    Declaration
    public void ReimportMaterial(string key)
    Parameters
    Type Name Description
    String key

    ReimportMesh(String)

    Declaration
    public void ReimportMesh(string key)
    Parameters
    Type Name Description
    String key

    RemoveInstance(SyncObjectBinding)

    Declaration
    public void RemoveInstance(SyncObjectBinding syncObject)
    Parameters
    Type Name Description
    SyncObjectBinding syncObject
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023