Example #1
0
    // 获取版本类型枚举
    private static string GetChannelString()
    {
#if  UNITY_WP8 && !UNITY_EDITOR
        return(ChannelType.WP8_CYOU.ToString());
#elif UNITY_ANDROID && !UNITY_EDITOR
        return(AndroidHelper.platformHelper("getChannelString"));
#elif UNITY_IPHONE && !UNITY_EDITOR
        return(IOSHelper.SDK_GetChannelString());
#else
        return(ChannelType.TEST.ToString());
#endif
    }