Hi. I tried to figure out how to resize texture when it displayed on inspector. The method I found could only set the max size of the texture displayed but I cannot figure out how to set the minimum size for texture displayed on inspector.
For bigger texture they will be displayed smaller to fit the layout group. While for smaller texture they remained the same size. Is there a way to display the smaller texture bigger?
Here’s my script:
GUILayout.BeginVertical(GUILayout.Width(50), GUILayout.Height(50));
GUILayout.Box(texture, GUILayout.Width(50), GUILayout.Height(50), GUILayout.MinWidth(50), GUILayout.MinHeight(50));