EditorGUIUtility
.CommandEvent
Manual
Reference
Scripting
Scripting
>
Editor Classes
>
EditorGUIUtility
EditorGUIUtility
.CommandEvent
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
EditorGUIUtility
All Members
Class Variables
systemCopyBuffer
whiteTexture
Class Functions
AddCursorRect
CommandEvent
DrawColorSwatch
DrawCurveSwatch
FindTexture
GetBuiltinSkin
HasObjectThumbnail
HSVToRGB
Load
LoadRequired
LookLikeControls
LookLikeInspector
ObjectContent
PingObject
QueueGameViewInputEvent
RenderGameViewCameras
RGBToHSV
Inherited Class Variables
hotControl
keyboardControl
Inherited Class Functions
GetControlID
GetStateObject
GUIToScreenPoint
QueryStateObject
RotateAroundPivot
ScaleAroundPivot
ScreenToGUIPoint
static
function
CommandEvent (commandName :
string
) :
Event
Description
Creates an event
var
win :
EditorWindow
;
// Sends a paste event to an
EditorWindow
, as if Paste was selected from the Edit menu.
win.SendEvent(
EditorGUIUtility.CommandEvent
(
"Paste"
));