Parse.com - How can I get all objects from a class in C#/Unity? -


i need objects in class parse.com, code not seem working.

so far, have this:

var query = parseobject.getquery("gamescore").orderby("score").limit(10); query.findasync().continuewith(t => {     ienumerable<parseobject> results = t.result;     foreach (var obj in results)     {         var score = obj.get<parseobject>("score");         debug.log("score: " + score);     } }); 

however, not return anything. believe doesn't enter loop.

edit: class exist, keys there.

figured out.

var score = obj.get<parseobject>("score"); 

should be

var score = obj.get<float>("score"); 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -