Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GUITargetAttribute

Default constructor initializes the attribute for OnGUI to be called for all available displays.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule

GUITargetAttribute()

Default constructor initializes the attribute for OnGUI to be called for all available displays.
public GUITargetAttribute()

GUITargetAttribute(int)

Default constructor initializes the attribute for OnGUI to be called for all available displays.
public GUITargetAttribute(int displayIndex)

Parameters

displayIndex

Display index.

GUITargetAttribute(int, int)

Default constructor initializes the attribute for OnGUI to be called for all available displays.
public GUITargetAttribute(int displayIndex, int displayIndex1)

Parameters

displayIndex

Display index.

displayIndex1

Display index.

GUITargetAttribute(int, int, int[])

Default constructor initializes the attribute for OnGUI to be called for all available displays.
public GUITargetAttribute(int displayIndex, int displayIndex1, params int[] displayIndexList)

Parameters

displayIndex

Display index.

displayIndex1

Display index.

displayIndexList

Display index list.