forked from LeenkxTeam/LNXSDK
16 lines
462 B
Python
16 lines
462 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
class KromDelayIdleSleepNode(LnxLogicTreeNode):
|
|
"""Delays idle sleep on mobile platforms to keep the runtime active"""
|
|
bl_idname = 'LNKromDelayIdleSleepNode'
|
|
bl_label = 'Delay Idle Sleep'
|
|
lnx_category = 'Krom Runtime'
|
|
lnx_section = 'system'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|