ball 项目提交
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using SGModule.Common.Helper;
|
||||
using BallKingdomCrush;
|
||||
|
||||
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 InitACT()
|
||||
{
|
||||
#if UNITY_IOS && !UNITY_EDITOR
|
||||
BrigdeIOS.InitACT();
|
||||
#endif
|
||||
}
|
||||
public void ShezhiACT(bool act)
|
||||
{
|
||||
#if UNITY_IOS && !UNITY_EDITOR
|
||||
BrigdeIOS.ShezhiACT(act);
|
||||
#endif
|
||||
}
|
||||
public void haveSimCard(string have)
|
||||
{
|
||||
Log.Info("UnityManager", $"haveSimCard: {have}");
|
||||
|
||||
if (have == "TRUE") NetworkManager.haveSimCard = true;
|
||||
}
|
||||
public void Showtips(string tips)
|
||||
{
|
||||
GameHelper.ShowTips(tips);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user