forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class OnApplicationStateNode(LnxLogicTreeNode):
|
||||
"""Listens to different application state changes."""
|
||||
bl_idname = 'LNOnApplicationStateNode'
|
||||
bl_label = 'On Application State'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxNodeSocketAction', 'On Foreground')
|
||||
self.add_output('LnxNodeSocketAction', 'On Background')
|
||||
self.add_output('LnxNodeSocketAction', 'On Shutdown')
|
Reference in New Issue
Block a user