|
@@ -21,6 +21,8 @@ public class TextureLoadHelp : MonoBehaviour
|
|
private Dictionary<string, AssetBundle> loadDoneABList;
|
|
private Dictionary<string, AssetBundle> loadDoneABList;
|
|
private Dictionary<string, int> loadingABList;
|
|
private Dictionary<string, int> loadingABList;
|
|
|
|
|
|
|
|
+ public Texture map_def;
|
|
|
|
+
|
|
private void Awake()
|
|
private void Awake()
|
|
{
|
|
{
|
|
_Instance = this;
|
|
_Instance = this;
|
|
@@ -67,6 +69,7 @@ public class TextureLoadHelp : MonoBehaviour
|
|
mat.mainTexture = value.tex;
|
|
mat.mainTexture = value.tex;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+ mat.mainTexture = map_def;
|
|
long loadId = GetDownId();
|
|
long loadId = GetDownId();
|
|
waitLoadImgActionList.Add(loadId, mat);
|
|
waitLoadImgActionList.Add(loadId, mat);
|
|
StartCoroutine(DownLoadTex_AB(ab_Name,FileName,loadId));
|
|
StartCoroutine(DownLoadTex_AB(ab_Name,FileName,loadId));
|