A game about forced loneliness, made by TACStudios
1namespace Unity.VisualScripting
2{
3 /// <summary>
4 /// Returns the remainder of the division of two scalars.
5 /// </summary>
6 [UnitCategory("Math/Scalar")]
7 [UnitTitle("Modulo")]
8 public sealed class ScalarModulo : Modulo<float>
9 {
10 protected override float defaultDividend => 1;
11
12 protected override float defaultDivisor => 1;
13
14 public override float Operation(float a, float b)
15 {
16 return a % b;
17 }
18 }
19}