diff --git a/README.md b/README.md index a9392c6..479116e 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ public class MathNode : Node { public override object GetValue(NodePort port) { // Get new a and b values from input connections. Fallback to field values if input is not connected - float a = GetInputByFieldName("a", this.a); - float b = GetInputByFieldName("b", this.b); + float a = GetInputValue("a", this.a); + float b = GetInputValue("b", this.b); // After you've gotten your input values, you can perform your calculations and return a value if (port.fieldName == "result")