C# Class LocalizedKeySelector, SmartLocalization

显示文件 Open project: NiklasBorglund/SmartLocalization Class Usage Examples

Public Properties

Property Type Description
autoRefresh bool

Public Methods

Method Description
RefreshList ( bool sort, LocalizedObjectType sortType ) : void
SelectKeyGUI ( string currentKey, bool sort = false, LocalizedObjectType sortType = LocalizedObjectType.INVALID ) : string

Call this from OnInspectorGUI in your own editor class

Method Details

RefreshList() public static method

public static RefreshList ( bool sort, LocalizedObjectType sortType ) : void
sort bool
sortType LocalizedObjectType
return void

SelectKeyGUI() public static method

Call this from OnInspectorGUI in your own editor class
public static SelectKeyGUI ( string currentKey, bool sort = false, LocalizedObjectType sortType = LocalizedObjectType.INVALID ) : string
currentKey string /// Current key. ///
sort bool /// Set this to true if you only want to show keys of a specific type ///
sortType LocalizedObjectType /// Sort type. ///
return string

Property Details

autoRefresh public_oe static_oe property

public static bool autoRefresh
return bool