Repe [T3DU] and Moises Jpelaez updates
This commit is contained in:
25
leenkx/blender/lnx/logicnode/signal/LN_global_signal.py
Normal file
25
leenkx/blender/lnx/logicnode/signal/LN_global_signal.py
Normal file
@ -0,0 +1,25 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class GlobalSignalNode(LnxLogicTreeNode):
|
||||
"""Gets or creates a global Signal by name.
|
||||
|
||||
Global Signals are stored in a static registry and can be accessed from
|
||||
any logic tree in the scene. Provide a unique name to identify the signal.
|
||||
|
||||
Use this for communication between different objects or logic trees without
|
||||
needing to pass Signal references directly.
|
||||
|
||||
@seeNode Signal
|
||||
@seeNode On Signal
|
||||
@seeNode Emit Signal"""
|
||||
|
||||
bl_idname = 'LNGlobalSignalNode'
|
||||
bl_label = 'Global Signal'
|
||||
lnx_version = 1
|
||||
lnx_section = 'signal'
|
||||
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxStringSocket', 'Property')
|
||||
self.add_output('LnxDynamicSocket', 'Signal')
|
||||
Reference in New Issue
Block a user