namespace Unity.VisualScripting { /// /// Returns the remainder of the division of two scalars. /// [UnitCategory("Math/Scalar")] [UnitTitle("Modulo")] public sealed class ScalarModulo : Modulo { protected override float defaultDividend => 1; protected override float defaultDivisor => 1; public override float Operation(float a, float b) { return a % b; } } }