-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# Bmob-Unity-Demo | ||
Bmob Unity的使用示例 | ||
# Bmob Unity使用教程 | ||
# 项目准备 | ||
本教程采用Unity Hub3.3.0-c8,编辑器采用2021.3.21flc1(长期支持版本),visual studio 2019社区版。 | ||
|
||
# 创建项目 | ||
 | ||
|
||
# 下载源码 | ||
源码地址:[下载源码](./Source.zip "源码地址"),并解压如下: | ||
|
||
# 导入源码 | ||
打开创建的项目,把整个Source文件夹复制(拖拽)到Assets文件夹下,如下图。 | ||
 | ||
|
||
# 获取密钥 | ||
在Bmob后端云后台,创建项目,并获取这个项目对应的Application ID和REST API Key,如下图。 | ||
 | ||
|
||
# 填入密钥 | ||
把Assets/Bmob/api/BmobUnity.cs文件 和 Assets/HelloBmob.cs 文件同时拖拽到需要用到数据服务的对象中(如主摄像头),并把从Bmob后端云中获取的密钥填写到组件中,如下图。 | ||
 | ||
|
||
# 运行项目 | ||
如果一切操作都顺利的话,运行项目就会如下图。 | ||
 | ||
|
||
BmobUnity.cs文件包含了不少的测试案例,如果你有更多的疑问,请参考Bmob Unity开发文档: | ||
|
||
# 相关资料 | ||
- [Bmob Unity开发文档](https://github.com/bmob/bmob-demo-csharp/wiki/1-%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8) | ||
- [Bmob官方网址](https://www.bmobapp.com/) | ||
- 官方QQ:2395453054 |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.