Struct TagID
Represents a specific type as a tag, and can be used for tag related queries
public readonly struct TagID : IEquatable<TagID>
- Implements
- Inherited Members
Properties
Type
The type that this TagID represents
public Type Type { get; }
Property Value
Methods
Equals(TagID)
Checks if this TagID instance represents the same type as other
public bool Equals(TagID other)
Parameters
other
TagIDThe tag to compare against
Returns
Equals(object?)
Checks if this TagID instance represents the same type as other
public override bool Equals(object? other)
Parameters
other
objectThe tag to compare against
Returns
GetHashCode()
Gets the hashcode of this TagID
public override int GetHashCode()
Returns
Operators
operator ==(TagID, TagID)
Checks if two TagIDs represent the same type
public static bool operator ==(TagID left, TagID right)
Parameters
Returns
operator !=(TagID, TagID)
Checks if two TagIDs represent a different type
public static bool operator !=(TagID left, TagID right)