forked from LeenkxTeam/LNXSDK
Webview for RunT/Krom
This commit is contained in:
16
leenkx/Sources/leenkx/logicnode/WebviewDestroyNode.hx
Normal file
16
leenkx/Sources/leenkx/logicnode/WebviewDestroyNode.hx
Normal file
@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user