C# Class ImportTypeListWindow, uFrame.Editor

Inheritance: EditorWindow
Show file Open project: InvertGames/uFrame.Editor

Public Properties

Property Type Description
_AssetPath string
_SearchText string
_SelectedIndex int

Protected Properties

Property Type Description
_OnAdd Action
_labelSelector string>.Func
_triggerGroups Type>[].IGrouping

Public Methods

Method Description
GetLabel ( Type item ) : string
GroupBy ( Type item ) : string
GroupByCategoryAttributeSelector ( string p ) : string
InitTypeListWindow ( string title, IEnumerable items, Action onAdd ) : void
OnGUI ( ) : void

Method Details

GetLabel() public method

public GetLabel ( Type item ) : string
item Type
return string

GroupBy() public method

public GroupBy ( Type item ) : string
item Type
return string

GroupByCategoryAttributeSelector() public static method

public static GroupByCategoryAttributeSelector ( string p ) : string
p string
return string

InitTypeListWindow() public static method

public static InitTypeListWindow ( string title, IEnumerable items, Action onAdd ) : void
title string
items IEnumerable
onAdd Action
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Property Details

_AssetPath public property

public string _AssetPath
return string

_OnAdd protected property

protected Action _OnAdd
return Action

_SearchText public property

public string _SearchText
return string

_SelectedIndex public property

public int _SelectedIndex
return int

_labelSelector protected property

protected Func _labelSelector
return string>.Func

_triggerGroups protected property

protected IGrouping[] _triggerGroups
return Type>[].IGrouping