C# Class FullInspector.Modules.fiSharedInstanceSelectorWindow

Inheritance: EditorWindow
显示文件 Open project: jacobdufault/fullinspector

Private Properties

Property Type Description
CreateNewScriptableObject void

Public Methods

Method Description
OnDestroy ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
Show ( Type instanceType, Type sharedInstanceType, Action onSelected ) : void

Shows a new selection window for a SharedInstance type.

Private Methods

Method Description
CreateNewScriptableObject ( ) : void

Method Details

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Show() public static method

Shows a new selection window for a SharedInstance type.
public static Show ( Type instanceType, Type sharedInstanceType, Action onSelected ) : void
instanceType System.Type /// The generic SharedInstance parameter; that actual instance type. ///
sharedInstanceType System.Type /// The generic SharedInstance type itself. ///
onSelected Action /// Method to invoke when a new SharedInstance has been selected. ///
return void