using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; #if ENABLE_INPUT_SYSTEM && UNITY_INPUT_SYSTEM_PACKAGE using UnityEngine.InputSystem; #endif namespace MuHua { /// /// 悬浮窗口 /// public abstract class UIWindow : ModuleUIPanel { /// 绑定的画布 public readonly VisualElement canvas; private bool isDownMove; private Vector3 pointerPosition; private Vector3 originalPosition; public VisualElement Window => element.Q("Window"); public VisualElement Top => element.Q("Top"); public VisualElement Container => element.Q("Container"); public Label Title => element.Q