graph chart引入&骑行结果弹窗

This commit is contained in:
lishuo committed 2021-04-22 19:29:59 +08:00
1 parent 40d118cea3
commit 96f3644b5b
2374 files changed
+485161 -2410

No files matched your search

@@ -0,0 +1,47 @@
#define Graph_And_Chart_PRO
using ChartAndGraph;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
[Serializable]
public class GroupLabels : ItemLabelsBase
{
/// <summary>
/// Detemines the alignment of the group labels
/// </summary>
[SerializeField]
[Tooltip("Detemines the alignment of the group labels")]
private GroupLabelAlignment alignment;
/// <summary>
/// Detemines the alignment of the group labels
/// </summary>
public GroupLabelAlignment Alignment
{
get { return alignment; }
set { alignment = value; RaiseOnUpdate(); }
}
protected override Action<IInternalUse, bool> Assign
{
get
{
return (x, clear) =>
{
if (clear)
{
if (x.GroupLabels == this)
x.GroupLabels = null;
}
else
{
if (x.GroupLabels != this)
x.GroupLabels = this;
}
};
}
}
}