AxibugEmuOnline/AxibugEmuOnline.Client/Assets/Script/AppMain/Initer.cs

30 lines
686 B
C#
Raw Normal View History

2024-12-11 21:21:27 +08:00
using AxibugEmuOnline.Client.ClientCore;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
namespace AxibugEmuOnline.Client
{
public class Initer : MonoBehaviour
{
public PostProcessVolume m_filterVolume;
public CanvasGroup m_filterPreview;
public CanvasGroup m_xmbBg;
public static string dev_UUID;
2024-12-11 21:29:19 +08:00
#if UNITY_EDITOR
public bool bTest = false;
public string mTestSrvIP = "192.168.0.47";
#endif
2024-12-11 21:21:27 +08:00
private void Awake()
{
2024-12-11 21:29:19 +08:00
#if UNITY_EDITOR
App.Init(this, bTest, mTestSrvIP);
#else
2024-12-11 21:21:27 +08:00
App.Init(this);
2024-12-11 21:29:19 +08:00
#endif
2024-12-11 21:21:27 +08:00
dev_UUID = SystemInfo.deviceUniqueIdentifier;
}
}
}