public void PointerUp(BaseEventData data)
    {
        PointerEventData pointerData = data as PointerEventData;

        if (pointerData.button == PointerEventData.InputButton.Left)
        {
            Manager.ActivateEditorBrush(false);
        }
    }
    /// <summary>
    /// Handler for pointer down events within the map.
    /// </summary>
    /// <param name="data">
    /// Mouse data related to the event.
    /// </param>
    public void PointerDown(BaseEventData data)
    {
        PointerEventData pointerData = data as PointerEventData;

        if (pointerData.button == PointerEventData.InputButton.Left)
        {
            if (!Manager.ViewingGlobe &&
                !_isDraggingMap &&
                (Manager.GameMode == GameMode.Editor) &&
                Manager.CanActivateBrush())
            {
                Manager.ActivateEditorBrush(true);
                ActivatedBrush.Invoke();
            }
        }
    }