forked from LeenkxTeam/LNXSDK
17 lines
505 B
Python
17 lines
505 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
class KromSetApplicationNameNode(LnxLogicTreeNode):
|
|
"""Sets the application name used for save paths"""
|
|
bl_idname = 'LNKromSetApplicationNameNode'
|
|
bl_label = 'Set Application Name'
|
|
lnx_category = 'Krom Runtime'
|
|
lnx_section = 'system'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxStringSocket', 'Name')
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|