| | |
| | |
|
| | | if (window == null)
|
| | | {
|
| | | DesignDebug.LogErrorFormat("UILoader.LoadWindow() => 加载不到资源: {0}.", _name);
|
| | | DebugEx.LogErrorFormat("UILoader.LoadWindow() => 加载不到资源: {0}.", _name);
|
| | | }
|
| | |
|
| | | return window;
|
| | |
| | |
|
| | | if (prefab == null)
|
| | | {
|
| | | DesignDebug.LogErrorFormat("UILoader.LoadPrefab() => 加载不到资源: {0}.", _name);
|
| | | DebugEx.LogErrorFormat("UILoader.LoadPrefab() => 加载不到资源: {0}.", _name);
|
| | | }
|
| | |
|
| | | return prefab;
|
| | |
| | |
|
| | | if (sprite == null)
|
| | | {
|
| | | DesignDebug.LogErrorFormat("UILoader.LoadSprite() => 加载不到资源: {0}.", file);
|
| | | DebugEx.LogErrorFormat("UILoader.LoadSprite() => 加载不到资源: {0}.", file);
|
| | | }
|
| | |
|
| | | return sprite;
|
| | |
| | |
|
| | | if (font == null)
|
| | | {
|
| | | DesignDebug.LogErrorFormat("UILoader.LoadFont() => 加载不到资源: {0}.", _fontName);
|
| | | DebugEx.LogErrorFormat("UILoader.LoadFont() => 加载不到资源: {0}.", _fontName);
|
| | | }
|
| | |
|
| | | return font;
|