GUI Button Texture only showing as small

I have the following code set up for my GUI button and the texture is only showing realy small in on corner of my button. This is the code:

public Texture Location5Button;



if (GUI.Button(new Rect(230, 70, 50, 30), new GUIContent("Click", Location5Button)))

Try using GUILayout instead of GUI. That way you don’t need to specify a rectangle and the button takes as much room as necessary.

if (GUILayout.Button(new GUIContent("Click", Location5Button))) {
    Debug.Log("clicked");
}