Not sure why I'm getting this error, just started playing around with app42 warp and can't even get it so there's no errors , I took this code right from the sample and not sure why I'm getting an error.
public void onChatReceived (ChatEvent eventObj)
{
Log(eventObj.getSender() + " sended " + eventObj.getMessage());
SimpleJSON.JSONNode msg = SimpleJSON.JSON.Parse(eventObj.getMessage());
//msg[0]
if(eventObj.getSender() != appwarp.username)
{
appwarp.movePlayer(msg["x"].AsFloat,msg["y"].AsFloat,msg["z"].AsFloat);
//Log(msg["x"].ToString()+" "+msg["y"].ToString()+" "+msg["z"].ToString());
}
}
also getting the error
Cannot implicitly convert type `SimpleJSON.JObject' to `SimpleJSON.JSONNode'