语言英语
  • C#

GUILayout.AreaScope 构造函数

声明

public GUILayout.AreaScope(Rect screenRect);

声明

public GUILayout.AreaScope(Rect screenRect, string text);

声明

public GUILayout.AreaScope(Rect screenRect, Texture image);

声明

public GUILayout.AreaScope(Rect screenRect, GUIContent content);

声明

public GUILayout.AreaScope(Rect screenRect, string text, GUIStyle style);

声明

public GUILayout.AreaScope(Rect screenRect, Texture image, GUIStyle style);

声明

public GUILayout.AreaScope(Rect screenRect, GUIContent content, GUIStyle style);

参数

text 要在区域中显示的可选文本。
image 要在区域中显示的可选纹理。
content 此区域的可选文本、图像和工具提示顶部显示。
style 要使用的样式。如果省略,则使用空 GUIStyle (GUIStyle.none),提供透明背景。

描述

创建一个新的 AreaScope 并开始相应的区域。


Did you find this page useful? Please give it a rating: