A game about forced loneliness, made by TACStudios
1namespace Unity.VisualScripting 2{ 3 /// <summary> 4 /// Compares two inputs to determine whether the first is greater than the second. 5 /// </summary> 6 [UnitCategory("Logic")] 7 [UnitOrder(11)] 8 public sealed class Greater : BinaryComparisonUnit 9 { 10 /// <summary> 11 /// Whether A is greater than B. 12 /// </summary> 13 [PortLabel("A > B")] 14 public override ValueOutput comparison => base.comparison; 15 16 protected override bool NumericComparison(float a, float b) 17 { 18 return a > b; 19 } 20 21 protected override bool GenericComparison(object a, object b) 22 { 23 return OperatorUtility.GreaterThan(a, b); 24 } 25 } 26}