完善编辑器
This commit is contained in:
@@ -80,7 +80,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
UIWindow.Instance.uiTeleportPanel.RemoveAll();
|
||||
UIWindow.Instance.uiAudioTriggerPanel.RemoveAll();
|
||||
UIWindow.Instance.uiSellAreasPanel.RemoveAll();
|
||||
//UIWindow.Instance.uiMonstersPanel.RemoveAll();
|
||||
UIWindow.Instance.uiMonstersPanel.RemoveAll();
|
||||
UIWindow.Instance.uiNpcsPanel.RemoveAll();
|
||||
UIWindow.Instance.uiTriggersPanel.RemoveAll();
|
||||
UIWindow.Instance.uiConditionsPanel.RemoveAll();
|
||||
@@ -116,7 +116,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
else
|
||||
{
|
||||
UIWindow.Instance.uiTeleportPanel.gameObject.SetActive(false);
|
||||
MapManager.Instance.HideSpecialPoint(MapManager.EditCellType.TeleportCell);
|
||||
MapManager.Instance?.HideSpecialPoint(MapManager.EditCellType.TeleportCell);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
else
|
||||
{
|
||||
UIWindow.Instance.uiRelivesPanel.gameObject.SetActive(false);
|
||||
MapManager.Instance.HideSpecialPoint(MapManager.EditCellType.ReliveCell);
|
||||
MapManager.Instance?.HideSpecialPoint(MapManager.EditCellType.ReliveCell);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
else
|
||||
{
|
||||
UIWindow.Instance.uiMonstersPanel.gameObject.SetActive(false);
|
||||
MapManager.Instance.HideSpecialPoint(MapManager.EditCellType.MonsterArea);
|
||||
MapManager.Instance?.HideSpecialPoint(MapManager.EditCellType.MonsterArea);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
else
|
||||
{
|
||||
UIWindow.Instance.uiNpcsPanel.gameObject.SetActive(false);
|
||||
MapManager.Instance.HideSpecialPoint(MapManager.EditCellType.NpcCell);
|
||||
MapManager.Instance?.HideSpecialPoint(MapManager.EditCellType.NpcCell);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
else
|
||||
{
|
||||
UIWindow.Instance.uiAudioTriggerPanel.gameObject.SetActive(false);
|
||||
MapManager.Instance.HideSpecialPoint(MapManager.EditCellType.AudioTrigger);
|
||||
MapManager.Instance?.HideSpecialPoint(MapManager.EditCellType.AudioTrigger);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ public class UIEditMapConfig : MonoBehaviour
|
||||
else
|
||||
{
|
||||
UIWindow.Instance.uiTriggersPanel.gameObject.SetActive(false);
|
||||
MapManager.Instance.HideSpecialPoint(MapManager.EditCellType.TriggerCell);
|
||||
MapManager.Instance?.HideSpecialPoint(MapManager.EditCellType.TriggerCell);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user