Class GuidReference
Class 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
OnBeforeSerialize()
Called when [before serialize].
Declaration
public void OnBeforeSerialize()
Implements
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 |