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

30 lines
715 B
C#
Raw Normal View History

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