|
|
|
@ -45,7 +45,8 @@ public class UpdateManager : MonoBehaviour {
|
|
|
|
|
public void Edit() |
|
|
|
|
{ |
|
|
|
|
state = UpdateState.Edit; |
|
|
|
|
DisasterManager.disaster = selectedMsg; |
|
|
|
|
DisasterManager.disaster = selectedMsg; |
|
|
|
|
DisasterManager.editorRight = true; |
|
|
|
|
initPath(); |
|
|
|
|
// downLoadFileVersion();//单机版注释 |
|
|
|
|
versionUpdateOnCompleted();//联机版取消注释 |
|
|
|
@ -65,7 +66,8 @@ public class UpdateManager : MonoBehaviour {
|
|
|
|
|
public void View() |
|
|
|
|
{ |
|
|
|
|
state = UpdateState.View; |
|
|
|
|
DisasterManager.disaster = selectedMsg; |
|
|
|
|
DisasterManager.disaster = selectedMsg; |
|
|
|
|
DisasterManager.editorRight = false; |
|
|
|
|
initPath(); |
|
|
|
|
//downLoadFileVersion();//单机版注释 |
|
|
|
|
versionUpdateOnCompleted(); |
|
|
|
|