Class DeprecatedVector2Add
Returns the sum of two 2D vectors.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[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<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
defaultB
Declaration
protected override Vector2 defaultB { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Add<UnityEngine.Vector2>.defaultB
Methods
Operation(Vector2, Vector2)
Declaration
public override Vector2 Operation(Vector2 a, Vector2 b)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | a | |
Vector2 | b |
Returns
Type | Description |
---|---|
Vector2 |
Overrides
Unity.VisualScripting.Add<UnityEngine.Vector2>.Operation(UnityEngine.Vector2, UnityEngine.Vector2)