using UnityEngine;
namespace Unity.VisualScripting
{
///
/// Returns the positive version of a scalar.
///
[UnitCategory("Math/Scalar")]
[UnitTitle("Absolute")]
public sealed class ScalarAbsolute : Absolute
{
protected override float Operation(float input)
{
return Mathf.Abs(input);
}
}
}