docs.unity.cn
    Show / Hide Table of Contents

    Class GuidReference

    Class GuidReference.

    Inheritance
    Object
    GuidReference
    Namespace: UnityEngine.Industrial.Configuring.Staging
    Syntax
    [Serializable]
    public class GuidReference : ISerializationCallbackReceiver

    Constructors

    GuidReference()

    Initializes a new instance of the GuidReference class.

    Declaration
    public GuidReference()

    GuidReference(GuidComponent)

    Initializes a new instance of the GuidReference class.

    Declaration
    public GuidReference(GuidComponent target)
    Parameters
    Type Name Description
    GuidComponent target

    The target.

    Properties

    gameObject

    Gets the game object.

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

    The game object.

    Methods

    OnAfterDeserialize()

    Called when [after deserialize].

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Called when [before serialize].

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    Events

    OnGuidAdded

    Occurs when [on unique identifier added].

    Declaration
    public event Action<GameObject> OnGuidAdded
    Event Type
    Type Description
    Action<GameObject>

    OnGuidRemoved

    Occurs when [on unique identifier removed].

    Declaration
    public event Action OnGuidRemoved
    Event Type
    Type Description
    Action
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021