GUITargetAttribute
Allows to control for which display the OnGUI is called.
읽는 시간 3분최근 업데이트: 한 달 전
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
- Inherits from: Attribute
- Implements: _Attribute
[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. |