完善编辑器
This commit is contained in:
@@ -12,6 +12,7 @@ using UnityEngine.UI;
|
||||
///<2F><><EFBFBD>ܣ<EFBFBD>ɨ<EFBFBD><C9A8><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD>رյ<D8B1>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
public class UIMapPanel : MonoBehaviour
|
||||
{
|
||||
public ToggleGroup mapEditorGroup;
|
||||
public Dropdown dropMap;
|
||||
private int _curOpenMapId;
|
||||
private bool _saving;
|
||||
@@ -137,6 +138,10 @@ public class UIMapPanel : MonoBehaviour
|
||||
{
|
||||
MapManager.Instance.CloseMap();
|
||||
_curOpenMapId = -1;
|
||||
foreach (var toggle in mapEditorGroup.ActiveToggles())
|
||||
{
|
||||
toggle.isOn = false;
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasMap(string mapId)
|
||||
|
||||
Reference in New Issue
Block a user