using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.UI;
public class MyRadar : Graphic
{
[Tooltip("外接圆半径")]
public float radius = 5;
[Tooltip("N边形")]
public float n = 5;
//多边形中心点
public Vector2 center;
//多边形顶点
private List<Vector2> points = new List<Vector2>();
//具体每个属性的值的坐标
private List<Vector2> propertyValue = new List<Vector2>();
04-19
2282
04-16
3193
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交