Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GUITargetAttribute

Allows to control for which display the OnGUI is called.
Read time 3 minutesLast updated 4 days ago

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