Application方法
来源:互联网 发布:在淘宝买护肤品靠谱吗 编辑:程序博客网 时间:2024/06/06 17:16
using UnityEngine;using System.Collections;using UnityEngine.SceneManagement;public class ApplicationDemo : MonoBehaviour { void Start() { //支持后台运行 Application.runInBackground = true; //当前工程的Assets文件夹路径 Debug.Log (Application.dataPath); //持久化路径 Debug.Log (Application.persistentDataPath); //截屏// Application.CaptureScreenshot ("Assets/ABC.jpg"); //打开网页// Application.OpenURL ("http://www.baidu.com"); } void Update() { if (Input.GetMouseButtonDown (0)) { //切换场景// SceneManager.LoadScene ("EasyTouch"); AsyncOperation ao = SceneManager.LoadSceneAsync("EasyTouch");// ao.progress-->异步加载的百分比 } }}
阅读全文
0 0
- Application方法
- Application..::.EnableVisualStyles 方法
- 导出Excel (application方法)
- Application .SetCompatibleTextRenderingDefault 方法
- Application.EnableVisualStyles方法
- Application.Run 方法
- application中函数方法
- 系统待机方法 Application.SetSuspendState
- android application方法执行多次
- Application的run方法分析
- Java application 关闭窗口的方法
- Java application 关闭窗口的方法
- android 杀掉整个application的方法
- struts2获取request、sesstion、application的方法
- Activity共享变量的方法 -- Application context
- 根据Application Error定位异常的方法
- APPlication,Session和Cookie的区别方法
- Application对象的特性、属性和方法
- "=","=="和"==="的区别
- 在matlab中使用libsvm
- ImageLoader的使用
- 使用MySQL Workbench进行数据库设计
- com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE
- Application方法
- LVS之介绍几款超厉害的架构
- Django框架全面讲解 -- Cookie
- TabLayou 与viewpager的结合
- Java注解Annotation基础
- Chrome 去掉“该网站的安全证书不受信任!”的提示
- 你所了解的KVM有多少类别?
- shiro自定义权限标签的坑
- 技术分享连载(八十九)