armory/Sources/armory/logicnode/FunctionOutputNode.hx
2019-12-19 23:54:08 +01:00

17 lines
282 B
Haxe

package armory.logicnode;
class FunctionOutputNode extends LogicNode {
@:allow(armory.logicnode.LogicTree)
var result: Dynamic;
public function new(tree: LogicTree) {
super(tree);
}
override function run(from: Int) {
this.result = inputs[1].get();
runOutput(0);
}
}