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

18 lines
319 B
Haxe

package armory.logicnode;
class ConcatenateStringNode extends LogicNode {
public var value: String;
public function new(tree: LogicTree, value = "") {
super(tree);
this.value = value;
}
override function get(from: Int): Dynamic {
value = "";
for (inp in inputs) value += inp.get();
return value;
}
}