Update Files
This commit is contained in:
13
leenkx/Sources/leenkx/logicnode/IsNoneNode.hx
Normal file
13
leenkx/Sources/leenkx/logicnode/IsNoneNode.hx
Normal file
@ -0,0 +1,13 @@
|
||||
package leenkx.logicnode;
|
||||
|
||||
class IsNoneNode extends LogicNode {
|
||||
|
||||
public function new(tree: LogicTree) {
|
||||
super(tree);
|
||||
}
|
||||
|
||||
override function run(from: Int) {
|
||||
var v1: Dynamic = inputs[1].get();
|
||||
if (v1 == null) runOutput(0);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user