Method OnAddToLibrary
OnAddToLibrary(XRReferenceObjectLibrary, XRReferenceObject)
Invoked when an XRReferenceObject is added to an XRReferenceObjectLibrary.
Declaration
protected virtual void OnAddToLibrary(XRReferenceObjectLibrary library, XRReferenceObject referenceObject)
Parameters
Type | Name | Description |
---|---|---|
XRReferenceObjectLibrary | library | The library to which is being added. |
XRReferenceObject | referenceObject | The reference object being added to |
Remarks
Override this method if your XRReferenceObjectEntry needs to perform logic when a novel XRReferenceObject is added to an XRReferenceObjectLibrary.
The default implementation takes no action and has no effect.