public static int OpenPhoto(IntPtr L) { int count = LuaDLL.lua_gettop(L); const int nRet = 0; #if UNITY_ANDROID AndroidUtil.OpenPhoto(); #elif UNITY_IPHONE IOSUtil.iosOpenPhotoAlbums(false); #elif UNITY_STANDALONE_WIN OpenFileName.OpenPhoto(); #endif return(GameUtilWrap.CheckReturnNum(L, count, nRet)); }