示例#1
0
    public static int OpenCamera(IntPtr L)
    {
        int       count = LuaDLL.lua_gettop(L);
        const int nRet  = 0;

#if UNITY_ANDROID
        AndroidUtil.OpenCamera();
#elif UNITY_IPHONE
        IOSUtil.iosOpenCamera(true);
#endif

        return(GameUtilWrap.CheckReturnNum(L, count, nRet));
    }