v3.0.0-preivew8

This commit is contained in:
monitor1394
2022-04-26 08:24:45 +08:00
parent f11ee84517
commit 9dedc1db68
80 changed files with 1189 additions and 1307 deletions

View File

@@ -8,7 +8,16 @@ namespace XCharts.Example
[ExecuteInEditMode]
public class Example13_LineSimple : MonoBehaviour
{
void Awake()
void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
AddData();
//OnTestBtn();
}
}
void AddData()
{
var chart = gameObject.GetComponent<LineChart>();
if (chart == null)