void Update()
    {
        if (!GameStore.GetOpenedDialogType().Equals(DialogType.BuildingModeDialog))
        {
            ShowTooltipOnResources();
        }

        if (Input.GetMouseButtonDown((int)MouseButton.LeftMouse) && hoveredGameObject)
        {
            OnOpenBuildingDetails();
        }
    }