mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 01:40:06 +00:00
重构VisualMap和DataZoom
This commit is contained in:
25
Runtime/Internal/Interface/IComponentHandler.cs
Normal file
25
Runtime/Internal/Interface/IComponentHandler.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
/************************************************/
|
||||
/* */
|
||||
/* Copyright (c) 2018 - 2021 monitor1394 */
|
||||
/* https://github.com/monitor1394 */
|
||||
/* */
|
||||
/************************************************/
|
||||
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
{
|
||||
public interface IComponentHandler
|
||||
{
|
||||
void Init();
|
||||
void Update();
|
||||
void Draw(VertexHelper vh);
|
||||
void OnDrag(PointerEventData eventData);
|
||||
void OnBeginDrag(PointerEventData eventData);
|
||||
void OnEndDrag(PointerEventData eventData);
|
||||
void OnPointerDown(PointerEventData eventData);
|
||||
void OnScroll(PointerEventData eventData);
|
||||
|
||||
}
|
||||
}
|
||||
11
Runtime/Internal/Interface/IComponentHandler.cs.meta
Normal file
11
Runtime/Internal/Interface/IComponentHandler.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 062750f03b8ce4ef8a8ae46721a7d884
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user