forked from LeenkxTeam/LNXSDK
17 lines
271 B
Haxe
17 lines
271 B
Haxe
package leenkx.logicnode;
|
|
|
|
class WebviewDestroyNode extends LogicNode {
|
|
|
|
public function new(tree: LogicTree) {
|
|
super(tree);
|
|
}
|
|
|
|
override function run(from: Int) {
|
|
#if kha_krom
|
|
var id: Int = inputs[1].get();
|
|
Krom.webviewDestroy(id);
|
|
#end
|
|
runOutput(0);
|
|
}
|
|
}
|