支持除鼠标以外其他输入方式的Point位置获取,比如VR项目

This commit is contained in:
Ambitroc
2023-03-10 10:41:11 +08:00
parent 6f69af3945
commit 99b3d24366
2 changed files with 7 additions and 5 deletions

View File

@@ -51,7 +51,8 @@ namespace XCharts.Runtime
/// Whether the mouse pointer is in the chart.
/// |鼠标是否在图表内。
/// </summary>
public bool isPointerInChart { get; protected set; }
public bool isPointerInChart
{ get { return m_PointerEventData != null; } }
/// <summary>
/// 警告信息。
/// </summary>