UnityEngine.Internal.DefaultValueAttribute.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            DefaultValueAttribute attribute = obj as DefaultValueAttribute;
            if (attribute == null)
            {
                return false;
            }
            if (this.DefaultValue == null)
            {
                return (attribute.Value == null);
            }
            return this.DefaultValue.Equals(attribute.Value);
        }