当前位置:网站首页>Unity build error: the name "editorutility" does not exist in the current context
Unity build error: the name "editorutility" does not exist in the current context
2022-07-07 13:03:00 【charlsdm】
The reason for your error now is ,Unity Deleted at compile time for its design “UnityEditor” Namespace . This is why when you try to use it on the platform ,“EditorUtility” Will never exist except UnityEditor On any platform other than . because “EditorUtility” stay “UnityEditor” In the namespace .
therefore , If you want to use “EditorUtility” Execution and in Unity The same work done in the editor , You should implement it like them .
#if UNITY_EDITOR
EditorUtility.DisplayDialog(“Great!”, “You got the pattern right!”, “Next Level!”);
#else
YOUROWNCLASS.DisplayDialog(“Great!”, “You got the pattern right!”, “Next Level!”);
#endif
边栏推荐
- Leetcode skimming: binary tree 22 (minimum absolute difference of binary search tree)
- Star Enterprise Purdue technology layoffs: Tencent Sequoia was a shareholder who raised more than 1billion
- HZOJ #236. Recursive implementation of combinatorial enumeration
- PHP calls the pure IP database to return the specific address
- Day-24 UDP, regular expression
- How to continue after handling chain interruption / sub chain error removed from scheduling
- Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders
- Leetcode skimming: binary tree 21 (verifying binary search tree)
- HZOJ #235. 递归实现指数型枚举
- 基于NeRF的三维内容生成
猜你喜欢

人均瑞数系列,瑞数 4 代 JS 逆向分析

Leetcode skimming: binary tree 25 (the nearest common ancestor of binary search tree)

3D content generation based on nerf

Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders

通过Keil如何查看MCU的RAM与ROM使用情况

How to apply @transactional transaction annotation to perfection?

leecode3. 无重复字符的最长子串

飞桨EasyDL实操范例:工业零件划痕自动识别

Talk about four cluster schemes of redis cache, and their advantages and disadvantages

处理链中断后如何继续/子链出错removed from scheduling
随机推荐
共创软硬件协同生态:Graphcore IPU与百度飞桨的“联合提交”亮相MLPerf
如何将 @Transactional 事务注解运用到炉火纯青?
Cmu15445 (fall 2019) project 2 - hash table details
ip2long之后有什么好处?
非分区表转换成分区表以及注意事项
滑轨步进电机调试(全国海洋航行器大赛)(STM32主控)
Leetcode brush questions: binary tree 19 (merge binary tree)
Layer pop-up layer closing problem
Visual stdio 2017 about the environment configuration of opencv4.1
Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
How does MySQL create, delete, and view indexes?
[untitled]
为租客提供帮助
Guangzhou held work safety conference
test
The difference between cache and buffer
Go language learning notes - structure
PACP学习笔记一:使用 PCAP 编程
test
ICLR 2022 | pre training language model based on anti self attention mechanism