private void OnMouseDown()
    {
        if (EventSystem.current.IsPointerOverGameObject())
        {
            return;
        }

        if (device != null)
        {
            return;
        }

        if (Pointer.state == PointerState.Move)
        {
            moveManager.AddNode(this);
        }

        if (!buildManager.CanBuild)
        {
            return;
        }

        if (Pointer.state == PointerState.Build)
        {
            buildManager.BuildDeviceOn(this);
        }
    }