拼ui 一些业务逻辑x实现
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace EasyChart
|
||||
{
|
||||
public sealed class DefaultChartLegendTogglePolicy : IChartLegendTogglePolicy
|
||||
{
|
||||
public static readonly DefaultChartLegendTogglePolicy Instance = new DefaultChartLegendTogglePolicy();
|
||||
|
||||
private DefaultChartLegendTogglePolicy() { }
|
||||
|
||||
public bool GetNextVisibleState(bool isVisible, PointerDownEvent evt)
|
||||
{
|
||||
return !isVisible;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user