public override int GetHashCode() { unchecked { return((StateKey.GetHashCode() * 397) ^ (Components != null ? Components.GetHashCode() : 0)); } }
static void BindListItem(VisualElement element, StateKey stateKey) { (element as Label).text = $"{stateKey.Target}: {stateKey.Key}"; }
public bool Equals(StateKeyComponentsSet other) { return(StateKey.Equals(other.StateKey) && Equals(Components, other.Components)); }
public StateKeyComponentsSet(StateKey stateKey, Component[] components) { StateKey = stateKey; Components = components; }