/// <summary> /// 刷新主View /// </summary> /// <param name="imageUrl"></param> public void FreshShowView(string imageUrl) { if (ShowImage) { AsyncImage.GetInstance().SetTextureWithAsyncImage(imageUrl, ShowImage, ShowImage.mainTexture); } }
public void SetHead(string url) { AsyncImage.GetInstance().SetTextureWithAsyncImage(url, Icon, Icon.texture); }
public void SetHead(string url, Texture define) { AsyncImage.GetInstance().SetTextureWithAsyncImage(url, Head, define); }
public void SetUserHead(int Chair, string url, Texture img) { AsyncImage.GetInstance().SetTextureWithAsyncImage(url, Players[Chair].HeadTxtr, img); }