Version: 2020.3

GUILayout.ExpandHeight

切换到手册
public static GUILayoutOption ExpandHeight (bool expand);

描述

传递给控件以允许或禁止垂直扩展的选项。