Big news everyone! The script has been included into plyGame as an official thing now. It’s called OnClick Trigger BloxEvent and it’s located at ‘Component/plyGame/Misc/’. It’s a script that calls plyBlox custom events with defined parameters when OnClick() from a uGUI button occurs. What this means is that using plyBlox will be so much easier from now on.
Until Leslie makes it possible to send parameters through OnClick(), treat this as a temporary solution/workaround. Enjoy!
As of 1 June 2016, Leslie and I agreed to keep the plugin separate and thus removed from future plyGame updates. Nevertheless, v4 will be very likely the last major version I put out anyway. I would like to thank everyone who uses the plugin since it was first released.
v4 file: OnClickTriggerBloxEvent_v4.zip (4.1 KB)
Instruction: All you have to do is to click and drag the script provided into a uGUI Button(or anything with a Button component) then input the Blox, name of the Blox’s custom event and parameters to send. Click the button during gameplay and it will do its thing.