GUITargetAttributeConstructor

Switch to Manual
public GUITargetAttribute ();
public GUITargetAttribute (int displayIndex);
public GUITargetAttribute (int displayIndex, int displayIndex1);
public GUITargetAttribute (int displayIndex, int displayIndex1, params int[] displayIndexList);

Parameters

displayIndexDisplay index.
displayIndex1Display index.
displayIndexListDisplay index list.

Description

Default constructor initializes the attribute for OnGUI to be called for all available displays.