mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-19 07:17:56 +08:00
16 lines
450 B
C#
16 lines
450 B
C#
using UniverseLib.UI.Panels;
|
|
|
|
namespace UnityExplorer.UI.Panels
|
|
{
|
|
public class UEPanelDragger : PanelDragger
|
|
{
|
|
public UEPanelDragger(PanelBase uiPanel) : base(uiPanel) { }
|
|
|
|
protected override bool MouseInResizeArea(Vector2 mousePos)
|
|
{
|
|
return !UIManager.NavBarRect.rect.Contains(UIManager.NavBarRect.InverseTransformPoint(mousePos))
|
|
&& base.MouseInResizeArea(mousePos);
|
|
}
|
|
}
|
|
}
|