Print Node Tree name on debug only

This commit is contained in:
greyheron 2019-04-02 07:30:33 +01:00 committed by GitHub
parent d753fb02b2
commit 5594811a46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,11 @@ class PrintNode extends LogicNode {
override function run(from:Int) {
var value:Dynamic = inputs[1].get();
#if (arm_debug)
trace(tree.name + ": " + value);
#else
trace(value);
#end
runOutput(0);
}