public void Resize()
    {
        ResizeDirection resizeDirection;

        if (gameObject.name == "Left")
        {
            resizeDirection = ResizeDirection.Left;
        }
        else if (gameObject.name == "Right")
        {
            resizeDirection = ResizeDirection.Right;
        }
        else if (gameObject.name == "Up")
        {
            resizeDirection = ResizeDirection.Up;
        }
        else
        {
            resizeDirection = ResizeDirection.Down;
        }
        gridHandler.ChangeGridSize(resizeDirection);
    }