/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.visualscripting@1.9.4/Runtime/VisualScripting.Flow/Framework/Logic/Less.cs
26 строк
704 B
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
namespace Unity.VisualScripting { /// <summary> /// Compares two inputs to determine whether the first is less than the second. /// </summary> [UnitCategory("Logic")] [UnitOrder(9)] public sealed class Less : BinaryComparisonUnit { /// <summary> /// Whether A is less than B. /// </summary> [PortLabel("A < B")] public override ValueOutput comparison => base.comparison; protected override bool NumericComparison(float a, float b) { return a < b; } protected override bool GenericComparison(object a, object b) { return OperatorUtility.LessThan(a, b); } } }