using UnityEngine; public class GenericPosition : MonoBehaviour { protected MapPosition position; public virtual MapPosition Position { get { return position; } set { position = value; } } }