armory/blender/arm/logicnode/native/LN_shutdown.py
2020-10-05 14:55:56 -03:00

15 lines
424 B
Python

from arm.logicnode.arm_nodes import *
class ShutdownNode(ArmLogicTreeNode):
"""Closes the application."""
bl_idname = 'LNShutdownNode'
bl_label = 'Shutdown'
arm_version = 1
def init(self, context):
super(ShutdownNode, self).init(context)
self.add_input('ArmNodeSocketAction', 'In')
self.add_output('ArmNodeSocketAction', 'Out')
add_node(ShutdownNode, category=PKG_AS_CATEGORY)