I try to put a delay(10.0) statement inside the function OnSignalTrigger() to delay the execution of the script of a bool signal map. But the ‘delay()’ statement is skipped.
I try to put delay() in OnRun() function, the statement works. Does this mean that delay() only effective inside OnRun() function?
Yes, it is by design so each script can only have one “paused” execution state. It would get complicated if you would have e.g. multiple OnSignal method calls running in parallel within a script.