|
@@ -246,7 +246,9 @@ public class DownLoadItem : MonoBehaviour
|
|
|
data.localLoadPath = Application.persistentDataPath + "/Material/" + Path.GetFileName(downLoadPath);
|
|
|
if(type == ModelType.vuforial)
|
|
|
data.localLoadPath = Application.persistentDataPath + "/StreamingAssets/Vuforia/GHZVuforia." + downLoadPath.Split('.')[1];
|
|
|
- data.updataTime = 0;
|
|
|
+ data.updataTime = GameManager.Instance.SceneValue.updateTime;
|
|
|
+ if(UserInfo.Instance.is20)
|
|
|
+ data.updataTime = long.Parse( GameManager.Instance.m_scene.updateTime);
|
|
|
data.type = ((int)type).ToString();
|
|
|
|
|
|
|