ArticyRefModes Enumeration

These define the modes for an articy reference.

Definition

Namespace: Articy.Unity
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
C#
public enum ArticyRefModes

Remarks

The ArticyRef keeps information about which object the user wants to retrieve when using the various GetObject methods. You can change the way the GetObject method retrieves the object from the database by setting the appropiate flag on the ArticyRef itself.

Members

ReferenceBaseObject0 This will only reference the base object from the database (the one with the instance id 0) and will also hide the instance id control from the inspector.
ReferenceByInstanceId1 This will reference the object with the given instance id, if the object is not found with the instance id, the GetObject call will return null.
CloneWithConsecutiveInstanceId2 This will reference the object and will clone it the first time the user calls GetObject, the instance id will be stored and any subsequent calls will behave like ReferenceByInstanceId
CloneOrGetWithInstanceId3 This will reference the object and will try to clone it the first time the user calls GetObject and assigns the supplied instance id.

See Also