11 lines
263 B
C#
11 lines
263 B
C#
using UnityEngine;
|
|
|
|
[DisallowMultipleComponent]
|
|
public sealed class MultiplyBehavior : GuardedValueNodeBehavior
|
|
{
|
|
protected override void RecomputeCore()
|
|
{
|
|
SetOutputValueIfChanged("Output", BSValue.FromNumber(GetInputNumber("A") * GetInputNumber("B")));
|
|
}
|
|
}
|