Class GenericSum
Returns the sum of two objects.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Math/Generic")]
[UnitTitle("Add")]
public sealed class GenericSum : Sum<object>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Methods
Operation(IEnumerable<Object>)
Declaration
public override object Operation(IEnumerable<object> values)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Object> | values |
Returns
Type | Description |
---|---|
Object |
Overrides
Unity.VisualScripting.Sum<System.Object>.Operation(System.Collections.Generic.IEnumerable<System.Object>)
Operation(Object, Object)
Declaration
public override object Operation(object a, object b)
Parameters
Type | Name | Description |
---|---|---|
Object | a | |
Object | b |
Returns
Type | Description |
---|---|
Object |
Overrides
Unity.VisualScripting.Sum<System.Object>.Operation(System.Object, System.Object)