Version 3.1.1.0

ObjectAddress.ComponentAddress struct

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public struct ComponentAddress : IEquatable<ObjectAddress.ComponentAddress>

Constructors

ComponentAddress(Int32, Type)
public ComponentAddress(int componentIndex, Type componentType)
Parameters
System.Int32 componentIndex

System.Type componentType

Fields

ComponentIndex
public int ComponentIndex
ComponentType
public UnitySerializableType ComponentType

Methods

Equals(ObjectAddress.ComponentAddress)
public bool Equals(ObjectAddress.ComponentAddress other)
Returns
System.Boolean

Equals(Object)
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

GetHashCode()
public override int GetHashCode()
Returns
System.Int32

HasData()
public bool HasData()
Returns
System.Boolean

Operators

Equality(ObjectAddress.ComponentAddress, ObjectAddress.ComponentAddress)
public static bool operator ==(ObjectAddress.ComponentAddress a, ObjectAddress.ComponentAddress b)
Returns
System.Boolean

Inequality(ObjectAddress.ComponentAddress, ObjectAddress.ComponentAddress)
public static bool operator !=(ObjectAddress.ComponentAddress a, ObjectAddress.ComponentAddress b)
Returns
System.Boolean