Class DeprecatedScalarAdd
Returns the sum of two scalars.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Scalar")]
[UnitTitle("Add")]
[Obsolete("Use the new \"Add (Math/Scalar)\" unit instead.")]
[RenamedFrom("Bolt.ScalarAdd")]
[RenamedFrom("Unity.VisualScripting.ScalarAdd")]
public sealed class DeprecatedScalarAdd : Add<float>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
defaultB
Declaration
protected override float defaultB { get; }
Property Value
| Type | Description |
|---|---|
| Single |
Overrides
Unity.VisualScripting.Add<System.Single>.defaultB
Methods
Operation(Single, Single)
Declaration
public override float Operation(float a, float b)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | a | |
| Single | b |
Returns
| Type | Description |
|---|---|
| Single |
Overrides
Unity.VisualScripting.Add<System.Single>.Operation(System.Single, System.Single)