using System; using UnityEngine; namespace Unity.VisualScripting { /// /// Returns the sum of two 2D vectors. /// [UnitCategory("Math/Vector 2")] [UnitTitle("Add")] [Obsolete("Use the new \"Add (Math/Vector 2)\" node instead.")] [RenamedFrom("Bolt.Vector2Add")] [RenamedFrom("Unity.VisualScripting.Vector2Add")] public sealed class DeprecatedVector2Add : Add { protected override Vector2 defaultB => Vector2.zero; public override Vector2 Operation(Vector2 a, Vector2 b) { return a + b; } } }