Example #1
0
    static public bool isiPhoneX()
    {
        //return true;
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        return(platformWrapper.isiPhoneX());
    }
Example #2
0
    static public void SetIpInChina(bool isin)
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        platformWrapper.SetIpInChina(isin);
    }
Example #3
0
    static public void EnableAdSplash()
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        platformWrapper.EnableAdSplash();
    }
Example #4
0
    //android 启动logo结束
    static public void UnityStartUpFinish()
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        platformWrapper.UnityStartUpFinish();
    }
Example #5
0
    static public string GetChannelName()
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        return(platformWrapper.GetChannelName());
    }
Example #6
0
    static public string GetAppVersion()
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        return(platformWrapper.GetAppVersion());
    }
Example #7
0
    static public string GetCachePath()
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        return(platformWrapper.GetCachePath());
    }
Example #8
0
    static public void SetOrientation(int orientaion)
    {
        CommonBasePlatformWrapper platformWrapper = CommonPlatformWrapper.platform;

        platformWrapper.SetOrientation(orientaion);
    }