当前位置:网站首页>Unity 退出编辑器模式
Unity 退出编辑器模式
2022-06-13 07:52:00 【诗远】
Unity在编辑器模式下取消运行
通过宏定义判断当前在什么环境下
然后对其进行操作
#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#else
Application.Quit();
#endif
边栏推荐
- [an example of MySQL startup error] innodb: failed to create check sector file, errno:13
- Free file server storage technology
- 10. process communication
- Logback log framework learning and problems
- Web site access excel in IIS
- 8. process status and transition
- Redis underlying data structure ----quicklist
- [MySQL] online lock free delay free DDL artifact GH OST
- Coalesce() function
- [problem record] json decoder. JSONDecodeError:Extra data: line xxx column xxx(char xxxx)
猜你喜欢

25 | 冒险和预测(四):今天下雨了,明天还会下雨么?

【PYTORCH】RuntimeError: one of the variables needed for gradient computation has been

MySQL Gtid_ Executed and gtid_ Purged modification time

Redis learning journey master-slave replication
![[redis problem] record a big key problem handling](/img/ad/787d5911fac2cc2105e439d906b67f.jpg)
[redis problem] record a big key problem handling

Install cuda+cusp environment and create the first helloword starter project

Consistency under distributed

21 | pipeline oriented instruction design (Part 2): How did Pentium 4 fail?

2021-10-20

22 | 冒险和预测(一):hazard是“危”也是“机”
随机推荐
力扣(LeetCode)163. 缺失的区间(2022.06.12)
[log4j2 log framework] sensitive character filtering
Find the first and last positions of elements in a sorted array
The uniapp applet dynamically generates tabbar based on permissions
Data desensitization tool advance tool Datamask
Redis Cluster - the bottom principle of building clusters
Data warehouse data processing and data flow
MySQL row column conversion (updated version)
QT reading SQLSERVER database
JMeter UDP pressure measurement
18 | 建立数据通路(中):指令+运算=CPU
Considerations for using redis transactions
【PYTORCH】RuntimeError: torch. cuda. FloatTensor is not enabled.
Effective Go - The Go Programming Language
【clickhouse专栏】基础数据类型说明
Coalesce() function
10. process communication
Three handshakes and four waves of TCP protocol and why------ One two pandas
MySQL source code --table_ cache
5. interrupts and exceptions