graph chart引入&骑行结果弹窗
This commit is contained in:
1 parent
40d118cea3
commit
96f3644b5b
2374 files changed
+485161
-2410
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace ChartAndGraph
|
||||
{
|
||||
public abstract class BarGenerator : MonoBehaviour, IBarGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// generates a bar within the specified rect. The rect is in local coordinates
|
||||
/// </summary>
|
||||
/// <param name="rect">A rect that specifies the bounds of the bar. the rect is in local coordinates</param>
|
||||
/// <param name="normalizedSize">a value between 0 to 1 representing the size of the rect relative to the size of the chart</param>
|
||||
public abstract void Generate(float normalizedSize,float scale);
|
||||
/// <summary>
|
||||
/// clears the bar the was generated be the Generate method.
|
||||
/// </summary>
|
||||
public abstract void Clear();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user