A game about forced loneliness, made by TACStudios
1using System;
2
3namespace Unity.VisualScripting
4{
5 /// <summary>
6 /// Returns the sum of two scalars.
7 /// </summary>
8 [UnitCategory("Math/Scalar")]
9 [UnitTitle("Add")]
10 [Obsolete("Use the new \"Add (Math/Scalar)\" node instead.")]
11 [RenamedFrom("Bolt.ScalarAdd")]
12 [RenamedFrom("Unity.VisualScripting.ScalarAdd")]
13 public sealed class DeprecatedScalarAdd : Add<float>
14 {
15 protected override float defaultB => 1;
16
17 public override float Operation(float a, float b)
18 {
19 return a + b;
20 }
21 }
22}