forked from LeenkxTeam/LNXSDK
Add leenkx/blender/lnx/logicnode/logic/LN_once.py
This commit is contained in:
15
leenkx/blender/lnx/logicnode/logic/LN_once.py
Normal file
15
leenkx/blender/lnx/logicnode/logic/LN_once.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
import bpy
|
||||
|
||||
class OnceNode(LnxLogicTreeNode):
|
||||
bl_idname = 'LNOnceNode'
|
||||
bl_label = 'Once'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'Run Once')
|
||||
self.add_input('LnxNodeSocketAction', 'Reset')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
|
||||
|
Reference in New Issue
Block a user