Browse Source

根据选择模式设置是否可编辑

develop
曹衍涛 4 years ago
parent
commit
5728716d06
  1. 2
      Assets/Scripts/DisasterList/UpdateManager.cs
  2. 2
      Assets/Scripts/Replay/DisasterManager.cs
  3. BIN
      Assets/Sky/Materials/azure[Sky].mat

2
Assets/Scripts/DisasterList/UpdateManager.cs

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

2
Assets/Scripts/Replay/DisasterManager.cs

@ -19,7 +19,7 @@ public class DisasterManager : MonoBehaviour
{
//updateFlag = false;
//editorRight = true;//单机版
editorRight = true;//联机版
//editorRight = true;//联机版
}
private void Start()
{

BIN
Assets/Sky/Materials/azure[Sky].mat

Binary file not shown.
Loading…
Cancel
Save