fix:1、更换项目,使用winter来创建
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using FairyGUI;
|
||||
using FlowerPower;
|
||||
using Newtonsoft.Json;
|
||||
using SGModule.Net;
|
||||
using UnityEngine;
|
||||
using SGModule.Common.Helper;
|
||||
using LoveLegend;
|
||||
|
||||
namespace IgnoreOPS
|
||||
{
|
||||
@@ -12,36 +7,36 @@ namespace IgnoreOPS
|
||||
public class UnityManager : BaseUnityManager<UnityManager>
|
||||
{
|
||||
|
||||
public static UnityManager Instance;
|
||||
public UnityManager()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
public void DakaiACT()
|
||||
|
||||
|
||||
public static void DakaiACT()
|
||||
{
|
||||
#if UNITY_IOS && !UNITY_EDITOR
|
||||
BrigdeIOS.DakaiACT();
|
||||
#endif
|
||||
}
|
||||
public void ShezhiACT(bool act)
|
||||
{
|
||||
public static void ShezhiACT(bool act)
|
||||
{
|
||||
#if UNITY_IOS && !UNITY_EDITOR
|
||||
BrigdeIOS.ShezhiACT(act);
|
||||
#endif
|
||||
}
|
||||
|
||||
public void initACTData()
|
||||
{
|
||||
#if UNITY_IOS && !UNITY_EDITOR
|
||||
BrigdeIOS.initACTData();
|
||||
#endif
|
||||
}
|
||||
|
||||
public void haveSimCard(string have)
|
||||
{
|
||||
Debug.Log("haveSimCard------" + have);
|
||||
Log.Info("UnityManager", $"haveSimCard: {have}");
|
||||
|
||||
if (have == "TRUE") NetworkManager.haveSimCard = true;
|
||||
}
|
||||
public void Showtips(string tips)
|
||||
{
|
||||
GameHelper.ShowTips(tips, true);
|
||||
}
|
||||
public void CloseDownloadUI(string tips)
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.AlbumDetailUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.LiveDetailUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SecretDetailUI_Close);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user