playMaker

Author Topic: Unity Message to PlayMaker event component proxy, with a creation Wizard!!  (Read 8809 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi Everyone,

 Ok, still allergic to c#?! ok ok... so you've all been struggle to catch Unity sending messages from the animation timeline or from a third party assets. While totally fine if you know how to create a component script, it's a pain if you are not a coder...

so I made a wizard to help you generate these proxy components, by simply defining simple parameters the wizard will create the component script for you, and the component interface is conveninient enohg to give you access to the PlayMaker event target and the usual dropdown to pick a PlayMaker event from.

Launch the wizard from the menu "PlayMaker/Addons/Tools/Event Proxy Wizard"



the bonus is a test button on the component itself that you can click to test if the component works as intended.

Watch this video to see how it works


As always, get it from the Ecosystem

or direct download below:

Event Proxy Wizard


 Bye,

 Jean
« Last Edit: December 04, 2015, 12:37:43 AM by jeanfabre »

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #1 on: September 16, 2015, 08:12:46 PM »
Awesome! :) Thank you Jean!
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

rik

  • Full Member
  • ***
  • Posts: 246
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #2 on: September 19, 2015, 05:21:49 AM »
Hi
jean i dont understand completely if i understand correctly this will make actions for 3rd party plugins or it was made for different purpose ?

rik

  • Full Member
  • ***
  • Posts: 246
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #3 on: September 19, 2015, 06:06:05 AM »
Hi
pls make a video waiting for it
thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #4 on: September 19, 2015, 07:11:29 AM »
Hi,

 it's done already :)

Basically, it's when something in Unity sends a message, which is in essence calling a public function/method on a GameObject. This wiazrd lets you create a component that can catch any such message and turn it into a PlayMaker event.

 Bye,

 Jean

rik

  • Full Member
  • ***
  • Posts: 246
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #5 on: September 19, 2015, 07:36:23 AM »
can you create scanner to scan for public functions and use them for creating actions for 3rd party plugins.


rik

  • Full Member
  • ***
  • Posts: 246
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #6 on: September 19, 2015, 07:37:40 AM »
or how about extending this for making actions for playmaker for 3rd party plugins

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #7 on: September 19, 2015, 08:31:26 AM »
Hi,

 Not really, you can't practically scan a project and create a component out of each public function out there it would be really a waist of resources and you'll end up with litteraly several thousands of components.

it has to come from a specific usage of either Unity or a third party.

What do you have in mind? if you have something specific I may be able to extrapolate and make a generic tool out of it, but again, it has to come from a specific use case.

Bye,

 Jean

rik

  • Full Member
  • ***
  • Posts: 246
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #8 on: September 28, 2015, 05:35:41 AM »
Hi
i have came up with an idea is it possible to do templates for various situations so by reading the documentation we can try to implement the actions.

by replacing the functions we can make actions is it possible.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #9 on: September 29, 2015, 02:09:38 AM »
Hi,

 I am not following, can you give a concrete example?

Bye,

 jean

tppr2046

  • Playmaker Newbie
  • *
  • Posts: 2
I use many event proxy wizard to communicate animation events to playmaker events.
Recnetly I upgrade to playmaker 1.9.7, and event proxy is not working now...
I checked the error message in console, and it shows
NullReferenceException: Object reference not set to an instance of an object
PlayMakerFSM.OnDisable () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:691)
which is very odd because my project is not in my C: drive
Unity version :2020.3.48f1

Luceid

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Unity Message to PlayMaker event component proxy, with a creation Wizard!!
« Reply #11 on: September 19, 2023, 09:59:53 AM »
Just wanted to confirm I am also getting the same error as tppr2046. Event proxy wizard appears to be broken :(