2017-09-23 21:39:12 +02:00
|
|
|
import bpy
|
|
|
|
from bpy.props import *
|
|
|
|
from bpy.types import Node, NodeSocket
|
|
|
|
from arm.logicnode.arm_nodes import *
|
|
|
|
|
|
|
|
class PauseTilesheetNode(Node, ArmLogicTreeNode):
|
|
|
|
'''Pause tilesheet node'''
|
|
|
|
bl_idname = 'LNPauseTilesheetNode'
|
|
|
|
bl_label = 'Pause Tilesheet'
|
2020-08-07 18:58:19 +02:00
|
|
|
bl_icon = 'NONE'
|
2017-09-23 21:39:12 +02:00
|
|
|
|
|
|
|
def init(self, context):
|
|
|
|
self.inputs.new('ArmNodeSocketAction', 'In')
|
|
|
|
self.inputs.new('ArmNodeSocketObject', 'Object')
|
|
|
|
self.outputs.new('ArmNodeSocketAction', 'Out')
|
|
|
|
|
2020-09-08 17:03:24 +02:00
|
|
|
add_node(PauseTilesheetNode, category=MODULE_AS_CATEGORY, section='tilesheet')
|