Ejemplo n.º 1
0
    // 是否开启调试模式:左上角调试框,FPS
    public static bool IsEnableDebugMode()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return(WPSDKHelperScript.Instance().WPIsEnableDebugMode());
#elif UNITY_ANDROID && !UNITY_EDITOR
        return(true);

        //return AndroidHelper.isDebug;
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.Common_IsEnableDebugMode());
#else
        return(true);
#endif
    }