Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsIMouseEventmousePositionThe mouse position in the panel coordinate system.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule Vector2 mousePosition { get; }