armory/blender/arm/logicnode/native/LN_shutdown.py
2020-09-08 21:49:02 +02:00

17 lines
444 B
Python

import bpy
from bpy.props import *
from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class ShutdownNode(ArmLogicTreeNode):
'''Shutdown node'''
bl_idname = 'LNShutdownNode'
bl_label = 'Shutdown'
bl_icon = 'NONE'
def init(self, context):
self.add_input('ArmNodeSocketAction', 'In')
self.add_output('ArmNodeSocketAction', 'Out')
add_node(ShutdownNode, category=MODULE_AS_CATEGORY)