文档

Unity Engine

Unity Engine

GUITargetAttribute

Allows to control for which display the OnGUI is called.
阅读时间3 分钟最后更新于 1 个月前

Definition

[AttributeUsage(AttributeTargets.Method)]public class GUITargetAttribute : Attribute, _Attribute

Constructors

Constructor

Description

GUITargetAttribute()Default constructor initializes the attribute for OnGUI to be called for all available displays.
GUITargetAttribute(System.Int32)Default constructor initializes the attribute for OnGUI to be called for all available displays.
GUITargetAttribute(System.Int32,System.Int32)Default constructor initializes the attribute for OnGUI to be called for all available displays.
GUITargetAttribute(System.Int32,System.Int32,System.Int32[])Default constructor initializes the attribute for OnGUI to be called for all available displays.

Inheritance

Inherited Members