using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(TopDownTransform))] public class CircleShape : ShapeBase { [Tooltip("圆心(相对此节点的偏移)")] [SerializeField] private Vector2 m_Centre; public Vector2 centre { get { return m_Centre; } set { m_Centre = value; } } [Tooltip("半径(TopDown空间下)")] [SerializeField] private float m_Radius; public float radius { get { return m_Radius; } set { m_Radius = value; } } }