playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to call a public static event from playmaker
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to call a public static event from playmaker (Read 1104 times)
mn6000
Playmaker Newbie
Posts: 17
How to call a public static event from playmaker
«
on:
March 24, 2017, 07:40:49 PM »
public delegate void UpdateGameObject();
public static event UpdateGameObject OnMove;
Hi, I have an event above which I want called by playmaker.
I'm looking at SendEvent Action and it wants me to specify a gameobject and a playmaker event.
I'm a little confused by this since I only want to call OnMove().
Do I want to use SendEvent or is there another action I should use?
Thank you.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: How to call a public static event from playmaker
«
Reply #1 on:
April 10, 2017, 02:23:28 AM »
Hi,
For this you'll need to write a dedicated actions that access your onMove delegate.
If you are not comfortable with writing an actions, I can do it for you so that you have a base, it's not complicated.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
How to call a public static event from playmaker