armory/blender/arm/logicnode/event/LN_on_init.py
2020-09-08 17:03:24 +02:00

15 lines
391 B
Python

import bpy
from bpy.props import *
from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class OnInitNode(Node, ArmLogicTreeNode):
'''On init node'''
bl_idname = 'LNOnInitNode'
bl_label = 'On Init'
bl_icon = 'NONE'
def init(self, context):
self.outputs.new('ArmNodeSocketAction', 'Out')
add_node(OnInitNode, category=MODULE_AS_CATEGORY)