API reference
ComponentValue
A component of an entity, as Entity.Describe reads it: a boxed copy of its value.
public readonly struct ComponentValue : IEquatable<ComponentValue>A component of an entity, as Entity.Describe reads it: a boxed copy of its value.
Parameters
Value: The value, boxed.Enabled: False for a disabled component (Entity.Disable), whose value is kept.
Constructors
ComponentValue
public ComponentValue(object Value, bool Enabled);A component of an entity, as Entity.Describe reads it: a boxed copy of its value.
Parameters
Value: The value, boxed.Enabled: False for a disabled component (Entity.Disable), whose value is kept.
Properties
Enabled
public bool Enabled { get; init; }False for a disabled component (Entity.Disable), whose value is kept.
Value
public object Value { get; init; }The value, boxed.
Methods
Deconstruct
public void Deconstruct(out object Value, out bool Enabled);Equals
public bool Equals(ComponentValue other);
public override bool Equals(object obj);GetHashCode
public override int GetHashCode();ToString
public override string ToString();Operators
operator !=
public static bool operator !=(ComponentValue left, ComponentValue right);operator ==
public static bool operator ==(ComponentValue left, ComponentValue right);Edit on GitHub
Last updated on
How is this guide?