当前位置:网站首页>Unity exit Editor Mode
Unity exit Editor Mode
2022-06-13 07:53:00 【Shiyuan】
Unity Cancel running in Editor Mode
Determine the current environment through macro definitions
And then operate on it
#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#else
Application.Quit();
#endif
边栏推荐
- Tidb source code series: immersive compilation of tidb
- uniapp 小程序根据权限动态生成 tabbar
- First graphical interface (modified version)
- 23 | 冒险和预测(二):流水线里的接力赛
- [log4j2 log framework] sensitive character filtering
- Go 接口实现原理【高阶篇】: type _interface struct
- [problem record] taberror: inconsistent use of tabs and spaces in indentation
- udf_ interval_ to_ Hourno() function
- Go interface implementation principle [advanced level]: type_ interface struct
- Distributed transaction learning (I) preliminary understanding
猜你喜欢

C盘爆满?简单几招教你释放、清理C盘几十G空间,最有效的C盘清理方法

v-for生成的子组件列表删除第n行出现数据错乱问题

Advanced MySQL: how to learn MySQL source code

The way of distributed system: Lamport logical clock

Tidb source code series: immersive compilation of tidb

Redis learning journey - transaction

Data desensitization tool advance tool Datamask

Export chrome plug-ins and import local plug-ins to chrome

Operation of simulated examination platform for examination question bank of G3 boiler water treatment operation certificate in 2022
![[problem record] taberror: inconsistent use of tabs and spaces in indentation](/img/dd/5ba456ac4201c8330d16f4b3bed81d.jpg)
[problem record] taberror: inconsistent use of tabs and spaces in indentation
随机推荐
leetcode 咒语和药水的成功对数
Pdf to word
【PYTORCH】RuntimeError: torch. cuda. FloatTensor is not enabled.
安装CUDA+CUSP环境,并创建第一个HelloWord入门工程
Tidb source code series: immersive compilation of tidb
2022 simulated examination question bank and online simulated examination of hoisting machinery command examination questions
获取类的属性
24 | 冒险和预测(三):CPU里的“线程池”
Redis persistence -- AOF
24 | adventure and prediction (III): thread pool in CPU
Redis' underlying data structure -- SDS
[tools for quickly creating MySQL stand-alone and cluster test environments] dbdeployer
uniapp 小程序根据权限动态生成 tabbar
Data warehouse data processing and data flow
26 | superscalar and VLIW: how to make the CPU throughput exceed 1
Install cuda+cusp environment and create the first helloword starter project
10. process communication
First graphical interface
Get properties of class
MySQL: regexp_ replace