docs.unity.cn
    Show / Hide Table of Contents

    Field CompanionObjectIndices

    Represents the index of the entity referencing the object.

    Namespace: Unity.Scenes
    Syntax
    public int[] CompanionObjectIndices
    Returns
    Type Description
    Int32[]
    Remarks

    You can use this to differentiate Prefab references and Companion Objects at runtime deserialization.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023