提交项目
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using ZooMatch;
|
||||
using UnityEngine;
|
||||
|
||||
public class ZooMatchRoot : MonoBehaviour
|
||||
{
|
||||
public void Awake()
|
||||
{
|
||||
|
||||
MaxADKit.Init();
|
||||
// SGModule.Net.NetworkKit.Instance.InitData(NetworkManager.identifier,true);
|
||||
OnLauncher();
|
||||
var reqData = new RespLoginFunnelData
|
||||
{
|
||||
type = "bootstrap",
|
||||
payload = ""
|
||||
};
|
||||
NetworkKit.PostFunnelLogin(reqData);
|
||||
}
|
||||
|
||||
public static void OnLauncher()
|
||||
{
|
||||
AppObjConst.FrameGo = new GameObject($"{AppObjConst.FrameGoName}");
|
||||
AppObjConst.FrameGo.AddComponent<ZooMatchCore>();
|
||||
DontDestroyOnLoad(AppObjConst.FrameGo);
|
||||
App.InitApplication(SuperApplication.Instance);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user