class MAGES::UniqueReference¶
Overview¶
A reference to a UniqueIdentifier component. More…
class UniqueReference: public ISerializationCallbackReceiver
{
public:
    // properties
    Action GuidAdded;
    Action GuidRemoved;
    GameObject Resolved;
    // methods
    UniqueReference(UniqueIdentifier target);
    void OnBeforeSerialize();
    void OnAfterDeserialize();
}; 
Detailed Documentation¶
A reference to a UniqueIdentifier component.
Properties¶
ActionGuidAdded 
Gets or sets the guid added event action.
Action GuidRemoved
Gets or sets the guid removed event action.
GameObject Resolved
Gets the resolved game object.
Methods¶
UniqueReference(UniqueIdentifier target)
Initializes a new instance of the UniqueReference class.
Parameters:
| target | The target component. | 
void OnBeforeSerialize()
Before serialize event.
void OnAfterDeserialize()
After deserialize event.