armory/blender/arm/logicnode/animation/LN_pause_action.py
2020-09-28 15:58:41 +02:00

16 lines
489 B
Python

from arm.logicnode.arm_nodes import *
class PauseActionNode(ArmLogicTreeNode):
"""Pause an action."""
bl_idname = 'LNPauseActionNode'
bl_label = 'Pause Action'
arm_version = 1
def init(self, context):
super(PauseActionNode, self).init(context)
self.add_input('ArmNodeSocketAction', 'In')
self.add_input('ArmNodeSocketObject', 'Object')
self.add_output('ArmNodeSocketAction', 'Out')
add_node(PauseActionNode, category=PKG_AS_CATEGORY)