48 lines
949 B
C#
48 lines
949 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using FairyGUI;
|
|
using FlowerPower;
|
|
using Newtonsoft.Json;
|
|
using SGModule.Net;
|
|
using UnityEngine;
|
|
|
|
namespace IgnoreOPS
|
|
{
|
|
|
|
public class UnityManager : BaseUnityManager<UnityManager>
|
|
{
|
|
|
|
public static UnityManager Instance;
|
|
public UnityManager()
|
|
{
|
|
Instance = this;
|
|
}
|
|
public void DakaiACT()
|
|
{
|
|
#if UNITY_IOS && !UNITY_EDITOR
|
|
BrigdeIOS.DakaiACT();
|
|
#endif
|
|
}
|
|
public 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);
|
|
if (have == "TRUE") NetworkManager.haveSimCard = true;
|
|
}
|
|
|
|
}
|
|
}
|