C# Класс Spine.Unity.Editor.SpineInspectorUtility

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
CenteredButton ( GUIContent content, float height = 20f, bool sideSpace = true ) : bool
GetRenderersSerializedObject ( SerializedObject serializedObject ) : SerializedObject
LargeCenteredButton ( GUIContent content, bool sideSpace = true ) : bool
LargeCenteredButton ( string label, bool sideSpace = true ) : bool
PluralThenS ( int n ) : string
Pluralize ( int n, string singular, string plural ) : string
PropertyFieldFitLabel ( SerializedProperty property, GUIContent label = null, float extraSpace = 5f ) : void
PropertyFieldWideLabel ( SerializedProperty property, GUIContent label = null, float minimumLabelWidth = 150 ) : void
SortingPropertyFields ( SerializedSortingProperties prop, bool applyModifiedProperties ) : void
TargetsUseSameData ( SerializedObject so ) : bool
UndoRedoPerformed ( UnityEngine current ) : bool

Описание методов

CenteredButton() публичный статический Метод

public static CenteredButton ( GUIContent content, float height = 20f, bool sideSpace = true ) : bool
content UnityEngine.GUIContent
height float
sideSpace bool
Результат bool

GetRenderersSerializedObject() публичный статический Метод

public static GetRenderersSerializedObject ( SerializedObject serializedObject ) : SerializedObject
serializedObject UnityEditor.SerializedObject
Результат UnityEditor.SerializedObject

LargeCenteredButton() публичный статический Метод

public static LargeCenteredButton ( GUIContent content, bool sideSpace = true ) : bool
content UnityEngine.GUIContent
sideSpace bool
Результат bool

LargeCenteredButton() публичный статический Метод

public static LargeCenteredButton ( string label, bool sideSpace = true ) : bool
label string
sideSpace bool
Результат bool

PluralThenS() публичный статический Метод

public static PluralThenS ( int n ) : string
n int
Результат string

Pluralize() публичный статический Метод

public static Pluralize ( int n, string singular, string plural ) : string
n int
singular string
plural string
Результат string

PropertyFieldFitLabel() публичный статический Метод

public static PropertyFieldFitLabel ( SerializedProperty property, GUIContent label = null, float extraSpace = 5f ) : void
property SerializedProperty
label GUIContent
extraSpace float
Результат void

PropertyFieldWideLabel() публичный статический Метод

public static PropertyFieldWideLabel ( SerializedProperty property, GUIContent label = null, float minimumLabelWidth = 150 ) : void
property SerializedProperty
label GUIContent
minimumLabelWidth float
Результат void

SortingPropertyFields() публичный статический Метод

public static SortingPropertyFields ( SerializedSortingProperties prop, bool applyModifiedProperties ) : void
prop SerializedSortingProperties
applyModifiedProperties bool
Результат void

TargetsUseSameData() публичный статический Метод

public static TargetsUseSameData ( SerializedObject so ) : bool
so SerializedObject
Результат bool

UndoRedoPerformed() публичный статический Метод

public static UndoRedoPerformed ( UnityEngine current ) : bool
current UnityEngine
Результат bool