2022年4月4日 星期一

Unity 產生 The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' 錯誤

2022.04.04 這個問題 Visual Studio Community 更新偶爾會發生,以下步驟還蠻有用的:

1. 開啟 Unity => Edit => Preferences => External Tools

2.  "Generate .csproj files for" 確定每項都打勾

3. 按下 "Regenerate project files".

4.  重新啟動 Visual Studio Community 就行了。

附圖:



沒有留言:

張貼留言