一些设置调整;进入骑行时请texture
This commit is contained in:
1 parent
8e88b4adba
commit
9acde45f4a
8 files changed
+2797
-2865
No files matched your search
@@ -140,6 +140,11 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
|
||||
App.MainSceneParam["Name"] = "MapListPanel";
|
||||
}
|
||||
SceneManager.LoadScene("Ride");
|
||||
foreach (var item in Utils.propTextureCache)
|
||||
{
|
||||
DestroyImmediate(item.Value);
|
||||
}
|
||||
Utils.propTextureCache.Clear();
|
||||
}
|
||||
|
||||
private void Info()
|
||||
|
||||
@@ -307,7 +307,7 @@ namespace Assets.Scripts
|
||||
/*删除父亲节点下的所有孩子*/
|
||||
|
||||
/*显示网络图片*/
|
||||
private static Dictionary<string, Texture> propTextureCache = new Dictionary<string, Texture>();
|
||||
public static Dictionary<string, Texture> propTextureCache = new Dictionary<string, Texture>();
|
||||
public delegate Coroutine StartCoroutine(IEnumerator routine);
|
||||
public static void DisplayImage(RawImage img, string url, bool cache = false)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user