docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneObjectReference

    Inheritance
    Object
    SceneObjectReference
    Namespace: Global Namespace
    Syntax
    [Serializable]
    public class SceneObjectReference

    Constructors

    SceneObjectReference()

    Declaration
    public SceneObjectReference()

    SceneObjectReference(SerializedProperty)

    Declaration
    public SceneObjectReference(SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property

    Properties

    IsAssetReference

    Declaration
    public bool IsAssetReference { get; }
    Property Value
    Type Description
    Boolean

    IsComponentReference

    Declaration
    public bool IsComponentReference { get; }
    Property Value
    Type Description
    Boolean

    IsGameObjectReference

    Declaration
    public bool IsGameObjectReference { get; }
    Property Value
    Type Description
    Boolean

    IsPrefabReference

    Declaration
    public bool IsPrefabReference { get; }
    Property Value
    Type Description
    Boolean

    ReferencedObject

    Declaration
    public Object ReferencedObject { get; }
    Property Value
    Type Description
    Object

    ReferencedObjectAsComponent

    Declaration
    public Component ReferencedObjectAsComponent { get; }
    Property Value
    Type Description
    Component

    ReferencedObjectAsGameObject

    Declaration
    public GameObject ReferencedObjectAsGameObject { get; }
    Property Value
    Type Description
    GameObject

    ReferenceResolved

    Declaration
    public bool ReferenceResolved { get; }
    Property Value
    Type Description
    Boolean

    ReferenceScene

    Declaration
    public SceneAsset ReferenceScene { get; }
    Property Value
    Type Description
    SceneAsset

    Methods

    Update(Object)

    Declaration
    public void Update(Object newObject)
    Parameters
    Type Name Description
    Object newObject
    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