Discussion: Glitch C# / Unity SDK Staff Topic

Developers and friends,

Now available: the official Glitch C# SDK! (which should work for Unity developers too)

Let us know if you have any feedback or feature requests. If you would prefer to email, you can send messages to brady@tinyspeck.com.
Joy!! Thank you :)
Will work under XNA to.
Confirmed, A few edits on this will certainly run under xna. I went and proved it http://developer.glitch.com/forum/9364/
Sweet! Great work. What did you change?
removing the waitone locks. we dont want anything locking up the render thread :P
more detail.

I basically stole your deserialize code. wrapped it up with webclient and chucked it into the game.
This doesn't work for Unity3D as the namespace System.Web.Script.Serialization; is not supported.
I heard it might work of i somehow set it to standalone exclusive (and not support webplayer)
But i havn't been able to find this option so far.
It would probably work if you switched out the System.Web.Script.Serialization to another JSON parsing library, here are some suggestions:

- http://litjson.sourceforge.net/
- http://code.google.com/p/jsonsharp/

I'll look into updating this myself in the future if no one does so the code will be more portable.

If you do end up changing it and want to share, please fork it or send me a pull request on GitHub.