Files
RedHotRoast-ios/Assets/Scripts/UnityManager.cs
T

29 lines
768 B
C#
Raw Normal View History

using SGModule.Common.Helper;
using RedHotRoast;
2026-04-22 09:52:55 +08:00
namespace IgnoreOPS
{
public class UnityManager : BaseUnityManager<UnityManager>
{
2026-05-25 09:45:16 +08:00
public void haveSimCard(string have)
{
Log.Info("UnityManager", $"haveSimCard: {have}");
2026-04-22 09:52:55 +08:00
if (have == "TRUE") NetworkManager.haveSimCard = true;
}
public void Showtips(string tips)
2026-04-22 09:52:55 +08:00
{
GameHelper.ShowTips(tips, true);
2026-04-22 09:52:55 +08:00
}
public void CloseDownloadUI(string tips)
2026-04-22 09:52:55 +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
}
}
}