using UnityEngine; using System.Collections; using System.Collections.Generic; namespace WPM { public interface IAdminEntity { /// /// Entity name. /// string name { get; set; } /// /// List of all regions for the admin entity. /// List regions { get; set; } /// /// Center of the admin entity in the plane /// Vector2 latlonCenter { get; set; } Vector3 localPosition { get; } int mainRegionIndex { get; set; } float mainRegionArea { get; } /// /// Computed Rect area that includes all regions. Used to fast hovering. /// Rect regionsRect2D { get; set; } /// /// Computed Rect area that includes all regions. Used to fast hovering. /// float regionsRect2DArea { get; } /// /// Used internally by Editor. /// bool foldOut { get; set; } } }