Commit 57e09ff
committed
fix(editor): 将欢迎窗口的logo加载方式从Resources改为AssetDatabase
Resources文件夹已被移除,logo图片已移至Editor Default Resources。
更新WelcomeWindow.cs中的LoadLogoTexture方法,使用AssetDatabase.FindAssets
和LoadAssetAtPath来动态加载logo,确保在Unity编辑器中正确显示。1 parent 69581c1 commit 57e09ff
File tree
5 files changed
+18
-5
lines changed- Editor Default Resources
- Editor/Welcome
5 files changed
+18
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
| |||
This file was deleted.
0 commit comments