├── .gitignore ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | 22 | # Unity3D generated meta files 23 | *.pidb.meta 24 | 25 | # Unity3D Generated File On Crash Reports 26 | sysinfo.txt 27 | 28 | # Builds 29 | *.apk 30 | *.unitypackage 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 LeanCloud 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LeanCloud Unity SDK 2 | 3 | ## Deprecation Announcement 4 | 5 | This project is deprecated, please refer to [Standard SDK](https://github.com/leancloud/csharp-sdk) for the latest updates. 6 | 7 | ## 发布说明 8 | 9 | 目前 SDK 是通过服务端的 CI 进行构建以及发布版本,因此这个仓库不会包含源代码只是定期在 [Release](https://github.com/leancloud/unity-sdk/releases) 里面发布最新版本的。 10 | 11 | ## 版本号 12 | 版本号以日期+构建序列号组成,例如 v20170113.2 表示这个版本是 2017 年 1 月 13 号的当天的第 2 次 build。 13 | 建议大家一律下载最新版本即可,除非 Unity 自身存在版本兼容,否则 LeanCloud Unity SDK 一般意义上都支持所有版本的 Unity 开发,目前推荐 Unity 版本最好在 5.3 +。 14 | 15 | 16 | ### 已知问题 17 | 根据用户的反馈目前得知一些已知问题: 18 | 19 | `UnityEditor.iOS.Extensions.Xcode.dll` 这个类库每一个版本的 Unity 都会不一样,但是根据社区反馈: 20 | 21 | - [FileNotFoundException when using Xcode API](http://answers.unity3d.com/questions/1148953/jenkins-failing-on-unityeditoriosextensionsxcode.html) 22 | - [Jenkins failing on UnityEditor.iOS.Extensions.Xcode](http://answers.unity3d.com/questions/1016975/filenotfoundexception-when-using-xcode-api.html) 23 | 24 | 因此为了确保正常使用,你必须在项目里面显示的引用这个库到您的 Assets 文件夹下 25 | 26 | 具体路径: 27 | 28 | - Windows -假设您的 Unity 安装在 C 盘的,那么对应的路径如下: `C:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\Advertisements\Editor\UnityEditor.iOS.Extensions.Xcode.dll` 29 | - Mac OS - `/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Advertisements/Editor/UnityEditor.iOS.Extensions.Xcode.dll` 30 | 31 | 注意,当前 SDK 为了让开发者迅速的体验 SDK,已经默认内置了一个 Unity v5.3 所包含 `UnityEditor.iOS.Extensions.Xcode.dll`,为了确保开发者不踩这个坑,最好还是引用您当前版本下 Unity 所对应的这个 dll 文件。 32 | 33 | 34 | ## Release Notes 35 | 36 | #### 2017-01-17 37 | 1. Unity SDK 2.0 正式发布 38 | 2. 暂时下架了统计和推送相关的接口,之后的版本会补充 39 | 40 | #### 2017-01-19 41 | 1. 支持了`AVObject.FetchAsync` 设置 inlcude keys ,服务端就会一并下发关联的 Pointer 对象的属性,并且反序列化成 `AVObject`。 42 | 43 | 44 | #### 2017-03-06 45 | 1. **支持了聊天服务**(内测版) 46 | 47 | 48 | --------------------------------------------------------------------------------