Hide Duplicate Reference Box Attribute

Indicates that Odin should hide the reference box, if this property would otherwise be drawn as a reference to another property, due to duplicate reference values being encountered. Note that if the value is referencing itself recursively, then the reference box will be drawn regardless of this attribute in all recursive draw calls.

public ReferenceTypeClass firstObject;

public ReferenceTypeClass withReferenceBox;

[HideDuplicateReferenceBox]
public ReferenceTypeClass withoutReferenceBox;

public void Setup()
{
    this.firstObject = new ReferenceTypeClass();
    this.withReferenceBox = this.firstObject;
    this.withoutReferenceBox = this.firstObject;
    this.firstObject.recursiveReference = this.firstObject;
}

public partial class ReferenceTypeClass
{
    [HideDuplicateReferenceBox]
    public ReferenceTypeClass recursiveReference;
}