A game about forced loneliness, made by TACStudios
1using UnityEngine; 2 3namespace Unity.VisualScripting 4{ 5 /// <summary> 6 /// Returns the linear interpolation between two scalars. 7 /// </summary> 8 [UnitCategory("Math/Scalar")] 9 [UnitTitle("Lerp")] 10 public sealed class ScalarLerp : Lerp<float> 11 { 12 protected override float defaultA => 0; 13 14 protected override float defaultB => 1; 15 16 public override float Operation(float a, float b, float t) 17 { 18 return Mathf.Lerp(a, b, t); 19 } 20 } 21}