but in my monodevelop (im using unity3d) it seems that the IDE cant find GSData class , i have the imports that the api reference shows it's needed
using GameSparks.Api; using GameSparks.Api.Requests; using GameSparks.Api.Responses;
so please can you tell me if i need to import something more ?
thanks in advance.
JOKINN
Best Answer
C
Customer Support
said
almost 7 years ago
Hey Joaquin,
So the using directive you'll need is as follows... using GameSparks.Core;
You should be able to get the right directive automatically by right-clicking on the 'GSData' and selecting 'resolve', this should automatically insert the right directive for you.
So the using directive you'll need is as follows... using GameSparks.Core;
You should be able to get the right directive automatically by right-clicking on the 'GSData' and selecting 'resolve', this should automatically insert the right directive for you.
Sean
1 person likes this
Customer Support
said
almost 7 years ago
Hey Joaquin,
Did you get sorted it out?
Sean
j
joaquin sanchez
said
almost 7 years ago
Sorry to late answering , yes it helped me , thanks Sean.
joaquin sanchez
Hi , im trying to send a new challengerequest and in api reference shows in response this:
string challengeInstanceId = response.ChallengeInstanceId;
GSData scriptData = response.ScriptData;
but in my monodevelop (im using unity3d) it seems that the IDE cant find GSData class , i have the imports that the api reference shows it's needed
using GameSparks.Api;
using GameSparks.Api.Requests;
using GameSparks.Api.Responses;
so please can you tell me if i need to import something more ?
thanks in advance.
JOKINN
So the using directive you'll need is as follows...
using GameSparks.Core;
You should be able to get the right directive automatically by right-clicking on the 'GSData' and selecting 'resolve', this should automatically insert the right directive for you.
Sean
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
So the using directive you'll need is as follows...
using GameSparks.Core;
You should be able to get the right directive automatically by right-clicking on the 'GSData' and selecting 'resolve', this should automatically insert the right directive for you.
Sean
1 person likes this
Customer Support
Hey Joaquin,
Did you get sorted it out?
Sean
joaquin sanchez
Michael Yee
That helped me as well. Thanks!
It might need to be updated in the GameSparks Learn API documentation: https://api.gamesparks.net/?csharpsdk#teams
AlphaDog Ware
The tutorials for unity seriously need to be updated to include the line:
using GameSparks.Core;
Every single one of them that references GSData that doesn't have this line is wrong. I am liking GameSparks so far, but the documentation is lacking.
-
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