namespace Unity.VisualScripting
{
///
/// Returns the difference between two scalars.
///
[UnitCategory("Math/Scalar")]
[UnitTitle("Subtract")]
public sealed class ScalarSubtract : Subtract
{
protected override float defaultMinuend => 1;
protected override float defaultSubtrahend => 1;
public override float Operation(float a, float b)
{
return a - b;
}
}
}