unity3D发布Android版本app,无法响应返回键的解决办法
2015-02-12 15:52
666 查看
天朝一直秉承着优良传统,百度出来的东西只告诉了代码怎么实现,完全没告诉脚本如何运行,对于我这样的u3D初学者很头疼。
google了一下,搜到官网解决办法:
1. Right click on the 'Assets' section in the Project tab. Then select 'Create' > 'C# Script'.
2. A new script will be added to your 'Assets'. Rename it to a more meaningful file.
3. Double click on that file and the script editor will open. Paste the specified code into the update method. Save and exit the editor.
4. Click on the 'ImageTarget' element in the 'Hierarchy' tab.
5. Click on the 'Add Component' button available in the 'Inspector'. Select 'Script' and then choose the created file.
6. The script will be added to the component. That's all...
google了一下,搜到官网解决办法:
1. Right click on the 'Assets' section in the Project tab. Then select 'Create' > 'C# Script'.
2. A new script will be added to your 'Assets'. Rename it to a more meaningful file.
3. Double click on that file and the script editor will open. Paste the specified code into the update method. Save and exit the editor.
4. Click on the 'ImageTarget' element in the 'Hierarchy' tab.
5. Click on the 'Add Component' button available in the 'Inspector'. Select 'Script' and then choose the created file.
6. The script will be added to the component. That's all...
相关文章推荐
- Unity3D与Android项目交互中无法监听back键返回的解决办法
- Android笔记:Unity3D与android项目交互中无法监听back键返回的解决办法
- Unity3D与Android项目交互中无法监听back键返回的解决办法
- Android自定义ListView的Item无法响应OnItemClick的解决办法
- android SDK manager 无法获取更新版本列表解决办法
- iOS企业版(Enterprise) App发布,Safari打开URL显示无法连接"xxx"解决办法
- Android SDK Manager无法下载其他版本的API 解决办法
- Android自定义ListView的Item无法响应OnItemClick的解决办法
- 【和小强学移动app测试5】Android虚拟机无法正常工作几例及解决办法
- Android Fragment中onActivityResult()方法获取不到返回数据或者无响应的解决办法
- android自定义ListView的Item无法响应OnItemClick的解决办法
- Android Fragment中onActivityResult()方法获取不到返回数据或者无响应的解决办法
- Android自定义ListView的Item无法响应OnItemClick的解决办法
- Eclipse external tools以及windows dos“无法访问android.app.Activity 找不到android.app.Activity的类文件”详细解决办法
- Android Studio run app 无法自启动的简单解决办法
- Unity3D在Android设备上返回按钮失效解决办法
- 【和小强学移动app测试5】Android虚拟机无法正常工作几例及解决办法
- 安卓jni编程--错误:无法访问android.app.Activity 找不到android.app.Activity的类文件的解决办法
- 使用javah生成.h文件, 出现无法访问android.app,Activity的错误的解决办法
- android WebView调用文件管理器,点击返回键退出app的解决办法