public static IEnumerator setAvatar(string url, Actor guy) { WWW web = new WWW(url); yield return web; if (guy != null) guy.getFace(web.texture); else GameObject.Find("WORSHIP ME").GetComponent<SpriteRenderer>().sprite = Sprite.Create(web.texture,new Rect(0,0,web.texture.width,web.texture.height), new Vector2(.5f,.5f)); }