Class InspectorNameUtils
열거형 값에 InspectorName을 붙여서 Editor에서 사용하기 위함
또는 DisplayName을 붙여서도 사용 가능
주로 Editor에서 코드와 UI를 연결할 때 활용됩니다.
Inheritance
InspectorNameUtils
Assembly: Glitch9.dll
Syntax
public static class InspectorNameUtils
Methods
|
Edit this page
View Source
GetInspectorName(Enum, string)
Declaration
public static string GetInspectorName(this Enum value, string fallbackValue = null)
Parameters
| Type |
Name |
Description |
| Enum |
value |
|
| string |
fallbackValue |
|
Returns
|
Edit this page
View Source
GetInspectorNames(Type)
Declaration
public static string[] GetInspectorNames(Type enumType)
Parameters
| Type |
Name |
Description |
| Type |
enumType |
|
Returns