C# Class UnityEditor.CurvePresetsContentsForPopupWindow

Inheritance: PopupWindowContent
Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CurvePresetsContentsForPopupWindow ( AnimationCurve animCurve, CurveLibraryType curveLibraryType, Action presetSelectedCallback ) : System
GetBasePrefText ( CurveLibraryType curveLibraryType ) : string
GetPresetLibraryEditor ( ) : PresetLibraryEditor
GetWindowSize ( ) : Vector2
InitIfNeeded ( ) : void
OnClose ( ) : void
OnGUI ( Rect rect ) : void

Private Methods

Method Description
AddDefaultPresetsToLibrary ( PresetLibrary presetLibrary ) : void
GetExtension ( CurveLibraryType curveLibraryType ) : string
ItemClickedCallback ( int clickCount, object presetObject ) : void
OnPresetsWasReordered ( ) : void

Method Details

CurvePresetsContentsForPopupWindow() public method

public CurvePresetsContentsForPopupWindow ( AnimationCurve animCurve, CurveLibraryType curveLibraryType, Action presetSelectedCallback ) : System
animCurve UnityEngine.AnimationCurve
curveLibraryType CurveLibraryType
presetSelectedCallback Action
return System

GetBasePrefText() public static method

public static GetBasePrefText ( CurveLibraryType curveLibraryType ) : string
curveLibraryType CurveLibraryType
return string

GetPresetLibraryEditor() public method

public GetPresetLibraryEditor ( ) : PresetLibraryEditor
return PresetLibraryEditor

GetWindowSize() public method

public GetWindowSize ( ) : Vector2
return Vector2

InitIfNeeded() public method

public InitIfNeeded ( ) : void
return void

OnClose() public method

public OnClose ( ) : void
return void

OnGUI() public method

public OnGUI ( Rect rect ) : void
rect UnityEngine.Rect
return void