using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace VoxelBusters.CoreLibrary.NativePlugins { /// /// A circular geographic region, specified as a center point and radius. /// [Serializable] public struct CircularRegion { #region Fields [SerializeField] private LocationCoordinate m_center; [SerializeField] private float m_radius; [SerializeField] private string m_regionId; #endregion #region Properties /// /// The center point of the geographic region to monitor. /// public LocationCoordinate Center { get { return m_center; } set { m_center = value; } } /// /// The distance (measured in meters) from the center point of the geographic region to the edge of the circular boundary. /// public float Radius { get { return m_radius; } set { m_radius = value; } } /// /// The identifier for the region object. /// public string RegionId { get { return m_regionId; } set { m_regionId = value; } } #endregion } }