armory/blender/arm/logicnode/native/LN_shutdown.py

15 lines
414 B
Python
Raw Normal View History

2017-05-03 19:56:15 +02:00
from arm.logicnode.arm_nodes import *
class ShutdownNode(ArmLogicTreeNode):
2020-09-08 23:14:51 +02:00
"""Shutdown node"""
2017-05-03 19:56:15 +02:00
bl_idname = 'LNShutdownNode'
bl_label = 'Shutdown'
arm_version = 1
2017-05-03 19:56:15 +02:00
def init(self, context):
super(ShutdownNode, self).init(context)
2020-09-08 21:49:02 +02:00
self.add_input('ArmNodeSocketAction', 'In')
self.add_output('ArmNodeSocketAction', 'Out')
2017-05-03 19:56:15 +02:00
add_node(ShutdownNode, category=PKG_AS_CATEGORY)