RenamePopupWindow Class Reference

Simple EditorWindow with a single field for entering a string.

Detailed Description

See also
Example Usage: NonSerializedExamples.cs

Public Member Functions

void Closer ()
 Closes window and unregisters from EditModeIntervalCallbacks
 

Static Public Member Functions

static void PopUp (string renamableString, System.Action< string > onOKCallback, bool cancelOnSelectionChange=true, string title=null, Rect screenPos=default(Rect), UnityEngine.Object potentialAssetToMove=null)
 Open the rename window with the provided initial string and title. When the user clicks OK, or hits enter, the callback function will be invoked, and the user-adjusted string will be passed to it.
 

Inherits EditorWindow.