C# 클래스 FullInspector.Internal.fiDisplayNameMapper

Helpers for mapping a property name to a display name that should be shown in the inspector.
This is essentially a reimplementation for UnityEditor.ObjectNames.NicifyVariableName, but DisplayNameMapper allocates less frequently.
파일 보기 프로젝트 열기: jacobdufault/fullinspector

공개 메소드들

메소드 설명
Map ( string propertyName ) : string

Convert the given property name into a name that will be used for the Unity inspector. For example, Unity by default converts "fieldValue" into "Field Value".

비공개 메소드들

메소드 설명
MapInternal ( string propertyName ) : string

Computes the actual mapped name. We try to not call this function as it allocates a fair amount.

ShouldInsertSpace ( int currentIndex, string str ) : bool

메소드 상세

Map() 공개 정적인 메소드

Convert the given property name into a name that will be used for the Unity inspector. For example, Unity by default converts "fieldValue" into "Field Value".
public static Map ( string propertyName ) : string
propertyName string
리턴 string