I saw an example mentioned somewhere that you can use the GameSparksAvailable delegate to be told when the API has been initialised.However no matter what I try, it never seems to be called.I am using the Unity 5 RC 45 package...Here is my code below...
void Start() { GameSparksApi.GameSparksAvailable += HandleGameSparksAvailable; } private void HandleGameSparksAvailable(object sender, GameSparksAvailabilityEventArgs e) { Debug.Log("Gamesparks is available!"); }
using GameSparks.Core; // ... void Start() { GS.GameSparksAvailable += HandleGameSparksAvailable; } void HandleGameSparksAvailable(bool available) { Debug.Log("available " + available); }
Works good for me.
Greg Quinn
I saw an example mentioned somewhere that you can use the GameSparksAvailable delegate to be told when the API has been initialised.
However no matter what I try, it never seems to be called.
I am using the Unity 5 RC 45 package...
Here is my code below...
Works good for me.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstLukasz Borun
David Brandes
Works good for me.
1 person likes this
-
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