加打印
This commit is contained in:
parent
e79923fa01
commit
52bac73a8a
|
@ -5,6 +5,7 @@ using System.Linq;
|
|||
using System.Runtime.InteropServices;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using static UnityEditor.PlayerSettings;
|
||||
|
||||
/// <summary>
|
||||
/// 系统初始化
|
||||
|
@ -68,6 +69,14 @@ public class CallForTest : MonoBehaviour
|
|||
{
|
||||
//获取启动参数
|
||||
infos = Environment.GetCommandLineArgs().ToList();
|
||||
Debug.Log("启动参数--------------------------------------------");
|
||||
infos.ForEach(info =>
|
||||
{
|
||||
Debug.Log(info);
|
||||
});
|
||||
Debug.Log("启动参数--------------------------------------------");
|
||||
Debug.Log("");
|
||||
|
||||
string code = infos.Find(a => a.StartsWith("code="));
|
||||
string enterprise_code = infos.Find(a => a.StartsWith("enterprise_code="));
|
||||
string config_value = infos.Find(a => a.StartsWith("config_value="));
|
||||
|
@ -108,6 +117,7 @@ public class CallForTest : MonoBehaviour
|
|||
}
|
||||
|
||||
//加载第二个场景,即企业场景
|
||||
Debug.Log("准备加载Mainscene");
|
||||
SceneManager.LoadScene(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue