BasePanel

This commit is contained in:
liuyu 2024-08-01 10:40:06 +08:00
parent a87b9a39a8
commit cc8e50108b
5 changed files with 31 additions and 1 deletions

View File

@ -1,5 +1,6 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using TMPro;
using UnityEngine; using UnityEngine;
using UnityEngine.EventSystems; using UnityEngine.EventSystems;
using UnityEngine.UI; using UnityEngine.UI;
@ -26,6 +27,7 @@ public class BaseItem : MonoBehaviour
FindChildrenControl<Slider>(); FindChildrenControl<Slider>();
FindChildrenControl<ScrollRect>(); FindChildrenControl<ScrollRect>();
FindChildrenControl<InputField>(); FindChildrenControl<InputField>();
FindChildrenControl<TextMeshPro>();
} }
/// <summary> /// <summary>

View File

@ -1,5 +1,6 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using TMPro;
using UnityEngine; using UnityEngine;
using UnityEngine.EventSystems; using UnityEngine.EventSystems;
using UnityEngine.UI; using UnityEngine.UI;
@ -25,6 +26,7 @@ public class BasePanel : MonoBehaviour
FindChildrenControl<Slider>(); FindChildrenControl<Slider>();
FindChildrenControl<ScrollRect>(); FindChildrenControl<ScrollRect>();
FindChildrenControl<InputField>(); FindChildrenControl<InputField>();
FindChildrenControl<TextMeshPro>();
} }
/// <summary> /// <summary>

View File

@ -9,6 +9,7 @@
"com.unity.ide.vscode": "1.2.5", "com.unity.ide.vscode": "1.2.5",
"com.unity.render-pipelines.universal": "12.1.14", "com.unity.render-pipelines.universal": "12.1.14",
"com.unity.test-framework": "1.1.33", "com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.9",
"com.unity.timeline": "1.6.5", "com.unity.timeline": "1.6.5",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.9.2", "com.unity.visualscripting": "1.9.2",

View File

@ -160,6 +160,15 @@
}, },
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.textmeshpro": {
"version": "3.0.9",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.ugui": "1.0.0"
},
"url": "https://packages.unity.cn"
},
"com.unity.timeline": { "com.unity.timeline": {
"version": "1.6.5", "version": "1.6.5",
"depth": 0, "depth": 0,

View File

@ -723,7 +723,23 @@ PlayerSettings:
webGLThreadsSupport: 0 webGLThreadsSupport: 0
webGLDecompressionFallback: 0 webGLDecompressionFallback: 0
webGLPowerPreference: 2 webGLPowerPreference: 2
scriptingDefineSymbols: {} scriptingDefineSymbols:
Android: DOTWEEN
EmbeddedLinux: DOTWEEN
GameCoreScarlett: DOTWEEN
GameCoreXboxOne: DOTWEEN
LinuxHeadlessSimulation: DOTWEEN
Lumin: DOTWEEN
Nintendo Switch: DOTWEEN
PS4: DOTWEEN
PS5: DOTWEEN
Stadia: DOTWEEN
Standalone: DOTWEEN
WebGL: DOTWEEN
Windows Store Apps: DOTWEEN
XboxOne: DOTWEEN
iPhone: DOTWEEN
tvOS: DOTWEEN
additionalCompilerArguments: {} additionalCompilerArguments: {}
platformArchitecture: {} platformArchitecture: {}
scriptingBackend: scriptingBackend: