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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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