diff --git a/Assets/ModuleCore/ModuleUI/ModuleUIPanel/UIPopup/UIGuidance.cs b/Assets/ModuleCore/ModuleUI/ModuleUIPanel/UIPopup/UIGuidance.cs new file mode 100644 index 0000000..1ee03c8 --- /dev/null +++ b/Assets/ModuleCore/ModuleUI/ModuleUIPanel/UIPopup/UIGuidance.cs @@ -0,0 +1,132 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UIElements; +using MuHua; + +/// +/// 指针提示 +/// +public class UIGuidance : ModuleUIPanel { + + private bool isDown; + private Action callback; + private Action ValueChanged; + private Vector2 offset; + private Vector3 originalPosition; + private Vector3 pointerPosition; + private VisualElement target; + private UIToggle toggle; + + public Label Prompt => Q