File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
LSQuickScripts/Example Project/LSQuickScripts Examples/Public/LSQuickScripts Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- //@ui {"widget":"label", "label":"LSQuickScripts v2.16 "}
1+ //@ui {"widget":"label", "label":"LSQuickScripts v2.17 "}
22//@ui {"widget":"label", "label":"By Max van Leeuwen"}
33//@ui {"widget":"label", "label":"-"}
44//@ui {"widget":"label", "label":"Place on top of scene ('On Awake')"}
489489//
490490//
491491// makeSignal(callback [function]) : object
492- // Makes a function into a signal that you can bind functions to. Returns an object containing a 'callback', an 'add' and a 'remove' function .
492+ // Makes a function into a signal that you can bind functions to. Returns an object.
493493// Bind using 'add' and 'remove', and call the 'callback' to execute.
494494//
495495// Example
496- // script.signal = makeSignal(); // in another script, bind a function using 'script.signal.add(function)' or 'script.signal.remove(function)'
497- // if(somethingHappens) script.signal.callback(args);
496+ // var signal = makeSignal()
497+ // signal.add(someFunction)
498+ // signal.callback(args)
499+ // signal.remove(someFunction)
498500//
499501//
500502//
You can’t perform that action at this time.
0 commit comments