How to use the StringSignal?

Hello, recently, I discovered the use of StringSignal in other components, but I am not sure how the information inside the signal is set.

So,I want to know how to use the StringSignal behaviour? I believe it will be a weapon to help me build a more flexible scene.

You can send a string in the python script using the signal method.

Like this:

from vcScript import *

comp = getComponent()

def OnRun():
  str_signal = comp.findBehaviour('MyStrSignal')
  str_signal.signal('Hello World')