【m】优化加载架构
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Stary.Evo.Editor
|
||||
{
|
||||
int id = EditorUtility.DisplayDialogComplex("提示",
|
||||
$"当前为[{PLayerMode.EDITOR_SIMULATEMODE}]模式,请选择切换得热更模式!",
|
||||
$"{PLayerMode.HOST_PLAYMODE}", $"{PLayerMode.OFFLINE_PLAYMODE}", "取消");
|
||||
$"{PLayerMode.HOST_PLAYMODE}", $"{PLayerMode.HOST_PLAYMODE}", "取消");
|
||||
|
||||
switch (id)
|
||||
{
|
||||
@@ -30,8 +30,8 @@ namespace Stary.Evo.Editor
|
||||
Debug.Log("切换为[HOST_PLAYMODE]模式");
|
||||
break;
|
||||
case 1:
|
||||
ChangePlayerSchema.SetPlayerMode(PLayerMode.OFFLINE_PLAYMODE);
|
||||
Debug.Log("切换为[OFFLINE_PLAYMODE]模式");
|
||||
ChangePlayerSchema.SetPlayerMode(PLayerMode.HOST_PLAYMODE);
|
||||
Debug.Log("切换为[HOST_PLAYMODE]模式");
|
||||
break;
|
||||
case 2:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user