I've been trying to register some custom functions to gamesparks events but having no luck.
The plan is when an opponent accepts a challenge and a ChallengeStarted Message is sent I'd like to inform everyone who is part of that challenge. My plan was to register a custom function to the ChallengeStarted message but after looking for examples (and trying random things) I've been unable to get it working.
I found this post which talks about registering for a callback but have had no luck so far, link http://www.gamesparks.com/blog/unity-and-gamesparks/.
In the example I don't understand where GameSparksApi is coming from.
Can anyone help?
Thanks,
Adam
Best Answer
C
Customer Support
said
about 7 years ago
Hi Adam You can find out more about ChallengeStarted Message and GameSparks Request API here To add a listener use
Adam Marsh
Good Afternoon All,
I've been trying to register some custom functions to gamesparks events but having no luck.
The plan is when an opponent accepts a challenge and a ChallengeStarted Message is sent I'd like to inform everyone who is part of that challenge. My plan was to register a custom function to the ChallengeStarted message but after looking for examples (and trying random things) I've been unable to get it working.
I found this post which talks about registering for a callback but have had no luck so far, link http://www.gamesparks.com/blog/unity-and-gamesparks/.
In the example I don't understand where GameSparksApi is coming from.
Can anyone help?
Thanks,
Adam
You can find out more about ChallengeStarted Message and GameSparks Request API here
To add a listener use
Thanks
Katie
Customer Support
You can find out more about ChallengeStarted Message and GameSparks Request API here
To add a listener use
Thanks
Katie
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics