public IEnumerator getFrameData(TIME.Frame frame) { string url = "http://" + databaseAddress + "/playtime/getFrameData.php"; WWWForm form = new WWWForm(); form.AddField("frameID", frame.id); WWW www = new WWW(url, form); yield return(www); // Set the frame data using the downloaded bytes frame.setBytes(www.bytes); }