2026-04-22 11:13:16 +08:00
|
|
|
using SGModule.Common.Helper;
|
2026-04-27 11:20:13 +08:00
|
|
|
using RedHotRoast;
|
2026-04-22 09:52:55 +08:00
|
|
|
|
|
|
|
|
namespace IgnoreOPS
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public class UnityManager : BaseUnityManager<UnityManager>
|
|
|
|
|
{
|
|
|
|
|
|
2026-04-22 11:13:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void DakaiACT()
|
2026-04-22 09:52:55 +08:00
|
|
|
{
|
|
|
|
|
#if UNITY_IOS && !UNITY_EDITOR
|
|
|
|
|
BrigdeIOS.DakaiACT();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
2026-04-22 11:13:16 +08:00
|
|
|
public static void ShezhiACT(bool act)
|
|
|
|
|
{
|
2026-04-22 09:52:55 +08:00
|
|
|
#if UNITY_IOS && !UNITY_EDITOR
|
|
|
|
|
BrigdeIOS.ShezhiACT(act);
|
|
|
|
|
#endif
|
|
|
|
|
}
|
2026-04-22 11:13:16 +08:00
|
|
|
public void haveSimCard(string have)
|
|
|
|
|
{
|
|
|
|
|
Log.Info("UnityManager", $"haveSimCard: {have}");
|
2026-04-22 09:52:55 +08:00
|
|
|
|
2026-04-22 11:13:16 +08:00
|
|
|
if (have == "TRUE") NetworkManager.haveSimCard = true;
|
|
|
|
|
}
|
|
|
|
|
public void Showtips(string tips)
|
2026-04-22 09:52:55 +08:00
|
|
|
{
|
2026-04-22 11:13:16 +08:00
|
|
|
GameHelper.ShowTips(tips, true);
|
2026-04-22 09:52:55 +08:00
|
|
|
}
|
2026-04-22 11:13:16 +08:00
|
|
|
public void CloseDownloadUI(string tips)
|
2026-04-22 09:52:55 +08:00
|
|
|
{
|
2026-04-22 11:13:16 +08:00
|
|
|
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.AlbumDetailUI_Close);
|
|
|
|
|
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.LiveDetailUI_Close);
|
|
|
|
|
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SecretDetailUI_Close);
|
2026-04-22 09:52:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|