private GameObject PutBuilding(BuildingsManager.BuildingType buildingType)
    {
        Ray        ray = new Ray(transform.position, transform.forward);
        RaycastHit hit = new RaycastHit();

        if (Physics.Raycast(ray, out hit, 999.9f, Player.raycastLayer))
        {
            Vector3 cubePos = hit.point + hit.normal * 0.1f;
            return(BuildingsManager.PutBuilding(buildingType, cubePos));
        }
        return(null);
    }