返回介绍

GUILayout.AreaScope.GUILayout.AreaScope GUI布局区域范围

发布于 2019-12-18 15:37:47 字数 2924 浏览 1175 评论 0 收藏 0

JavaScript => public GUILayout.AreaScope (screenRect: Rect)
JavaScript => public GUILayout.AreaScope (screenRect: Rect, text: string)
JavaScript => public GUILayout.AreaScope (screenRect: Rect, image: Texture)
JavaScript => public GUILayout.AreaScope (screenRect: Rect, content: GUIContent)
JavaScript => public GUILayout.AreaScope (screenRect: Rect, text: string, style: GUIStyle)
JavaScript => public GUILayout.AreaScope (screenRect: Rect, image: Texture, style: GUIStyle)
JavaScript => public GUILayout.AreaScope (screenRect: Rect, content: GUIContent, style: GUIStyle)

C# => public GUILayout.AreaScope (Rect screenRect); C# => public GUILayout.AreaScope (Rect screenRect, string text);
C# => public GUILayout.AreaScope (Rect screenRect, Texture image);
C# => public GUILayout.AreaScope (Rect screenRect, GUIContent content);
C# => public GUILayout.AreaScope (Rect screenRect, string text, GUIStyle style);
C# => public GUILayout.AreaScope (Rect screenRect, Texture image, GUIStyle style);
C# => public GUILayout.AreaScope (Rect screenRect, GUIContent content, GUIStyle style);

Parameters 参数

textOptional text to display in the area.
imageOptional texture to display in the area.
contentOptional text, image and tooltip top display for this area.
styleThe style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.

Description 描述

Create a new AreaScope and begin the corresponding Area.

创建新的区域范围并形成相对应的区域。

areascope

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文