Files
XCharts/Assets/XCharts/Runtime/Component/Radar/RadarCoordContext.cs
2021-12-19 20:53:55 +08:00

29 lines
969 B
C#

/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.UI;
namespace XCharts
{
public class RadarCoordContext : MainComponentContext
{
/// <summary>
/// the center position of radar in container.
/// 雷达图在容器中的具体中心点。
/// </summary>
public Vector3 center { get; internal set; }
/// <summary>
/// the true radius of radar.
/// 雷达图的运行时实际半径。
/// </summary>
public float radius { get; internal set; }
public float dataRadius { get; internal set; }
public bool isPointerEnter { get; set; }
}
}