mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 05:10:12 +00:00
3.0
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
@@ -53,13 +52,9 @@ namespace XCharts.Runtime
|
||||
m_ComponentDirty = false;
|
||||
}
|
||||
|
||||
public virtual void Reset()
|
||||
{
|
||||
}
|
||||
public virtual void Reset() { }
|
||||
|
||||
public virtual void ClearData()
|
||||
{
|
||||
}
|
||||
public virtual void ClearData() { }
|
||||
|
||||
public virtual void ClearDirty()
|
||||
{
|
||||
@@ -73,9 +68,7 @@ namespace XCharts.Runtime
|
||||
SetComponentDirty();
|
||||
}
|
||||
|
||||
public virtual void SetDefaultValue()
|
||||
{
|
||||
}
|
||||
public virtual void SetDefaultValue() { }
|
||||
|
||||
public virtual void OnRemove()
|
||||
{
|
||||
@@ -104,6 +97,7 @@ namespace XCharts.Runtime
|
||||
public virtual void Update() { }
|
||||
public virtual void DrawBase(VertexHelper vh) { }
|
||||
public virtual void DrawTop(VertexHelper vh) { }
|
||||
public virtual void OnSerieDataUpdate(int serieIndex) { }
|
||||
public virtual void OnPointerClick(PointerEventData eventData) { }
|
||||
public virtual void OnPointerDown(PointerEventData eventData) { }
|
||||
public virtual void OnPointerUp(PointerEventData eventData) { }
|
||||
@@ -117,13 +111,13 @@ namespace XCharts.Runtime
|
||||
}
|
||||
|
||||
public abstract class MainComponentHandler<T> : MainComponentHandler
|
||||
where T : MainComponent
|
||||
where T : MainComponent
|
||||
{
|
||||
public T component { get; internal set; }
|
||||
|
||||
internal override void SetComponent(MainComponent component)
|
||||
{
|
||||
this.component = (T)component;
|
||||
this.component = (T) component;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user