Пример #1
0
    public static bool IsGuest()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return(false);
#elif UNITY_ANDROID && !UNITY_EDITOR
        string ret = AndroidHelper.platformHelper("isGuest");
        if ("1".Equals(ret))
        {
            return(true);
        }
        else
        {
            return(false);
        }
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.SDK_IsGuest());
#else
        return(true);
#endif
    }