From c54c8e60d22af4111a0ae1c769ee8180048a33e8 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Sun, 13 Oct 2019 17:58:31 +0800 Subject: [PATCH] fixed bug --- Scripts/UI/Internal/BaseChart_API.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Scripts/UI/Internal/BaseChart_API.cs b/Scripts/UI/Internal/BaseChart_API.cs index 5226f9d8..29677271 100644 --- a/Scripts/UI/Internal/BaseChart_API.cs +++ b/Scripts/UI/Internal/BaseChart_API.cs @@ -47,6 +47,11 @@ namespace XCharts /// public float chartHeight { get { return m_ChartHeight; } } /// + /// The postion of pointer. + /// 鼠标位置 + /// + public Vector2 pointerPos { get; protected set; } + /// /// 自定义绘制回调。 /// public Action customDrawCallback { set { m_CustomDrawCallback = value; } }