class MAGES::UniqueIdentifier

Overview

A component that provides a unique identifier for a GameObject. More…

class UniqueIdentifier:
    public MonoBehaviour,
    public ISerializationCallbackReceiver
{
public:
    // properties

    bool IsGuidAssigned;
    System.Guid ID;

    // methods

    void OnAfterDeserialize();
    void OnBeforeSerialize();
};

Detailed Documentation

A component that provides a unique identifier for a GameObject.

Properties

bool IsGuidAssigned

Gets a value indicating whether this instance is assigned a GUID.

System.Guid ID

Gets the GUID.

Methods

void OnAfterDeserialize()

Called after deserialization.

void OnBeforeSerialize()

Called before serialization.