Playmaker Forum
PlayMaker News => General Discussion => Topic started by: jeanfabre on September 16, 2015, 09:48:48 AM
-
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"
(https://pbs.twimg.com/media/CPB1A2-WUAETTiU.png)
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 (http://j.mp/1Esn1mF)
or direct download below:
Event Proxy Wizard (https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/PlayMaker/Ecosystem/Custom%20Packages/Utils/PlayMakerUtils.unitypackage?raw=true)
Bye,
Jean
-
Awesome! :) Thank you Jean!
-
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 ?
-
Hi
pls make a video waiting for it
thanks
-
Hi,
it's done already (https://twitter.com/JeanAtPlayMaker/status/644513398915473408) :)
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
-
can you create scanner to scan for public functions and use them for creating actions for 3rd party plugins.
-
or how about extending this for making actions for playmaker for 3rd party plugins
-
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
-
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.
-
Hi,
I am not following, can you give a concrete example?
Bye,
jean
-
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
-
Just wanted to confirm I am also getting the same error as tppr2046. Event proxy wizard appears to be broken :(
-
I know I'm dredging up an old topic, but I'm getting the same error at the two above. Just wanted to add in case these users maybe figured it out? Posted a new topic about my specifics.
-
The video is very easy to understand, thank you bro.
basket random (https://basketballrandom.com)