Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: rainexplorer on May 29, 2018, 07:45:48 PM
-
Hi,
i have a plugin that has still not support PlayMaker, so i still find a way to retrieve its event.
They just provide an event register like below :
(https://i.imgur.com/qfAOIe3.png)
(to get Page Data)
and like below (to get vector2 data)
(https://i.imgur.com/QbzThid.png)
but after i set target to my PlayMaker Object, i got this error :
(https://i.imgur.com/elz363O.png)
i dont know how to setup receiver on PlayMaker...
any idea ?
note : the purpose of this task, i want to create page-swipe (like ebook). if any alternative solution using playmaker, i appreciate and thanks
-
Hi,
- you can add an event that target a PlayMakerFsm Component and send an event from there.
(https://i.imgur.com/cZs1Rbx.png)
- If you have PlayMaker Utils, there is a wizard to create a component that features a public method ad will send an playmaker event as a result:
Menu PlayMaker/Addons/Tools/Event Proxy Wizard
Bye,
Jean
-
Hi, thanks but if they send event with data. How i capture that data?
-
Hi,
then, you should use the event proxy wizard and edit it to accept the data and forward it to the playmaker eventdata before sending the playmaker event.
what is the data? I'll do a quick example to show you how to do it.
Bye,
Jean
-
Hi,
then, you should use the event proxy wizard and edit it to accept the data and forward it to the playmaker eventdata before sending the playmaker event.
what is the data? I'll do a quick example to show you how to do it.
Bye,
Jean
Example of Data is Vector2...
-
Hi,
ok, can you get the package again from the Ecosystem, I have modified the wizard to let you add a paramter, so simply select Vector2, save changes and your proxy method will now have a vector2 param :)
Let me know how it goes.
Bye,
Jean