C# Class Spine.Unity.Editor.SpineInspectorUtility

Mostrar archivo Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

CenteredButton() public static method

public static CenteredButton ( GUIContent content, float height = 20f, bool sideSpace = true ) : bool
content UnityEngine.GUIContent
height float
sideSpace bool
return bool

GetRenderersSerializedObject() public static method

public static GetRenderersSerializedObject ( SerializedObject serializedObject ) : SerializedObject
serializedObject UnityEditor.SerializedObject
return UnityEditor.SerializedObject

LargeCenteredButton() public static method

public static LargeCenteredButton ( GUIContent content, bool sideSpace = true ) : bool
content UnityEngine.GUIContent
sideSpace bool
return bool

LargeCenteredButton() public static method

public static LargeCenteredButton ( string label, bool sideSpace = true ) : bool
label string
sideSpace bool
return bool

PluralThenS() public static method

public static PluralThenS ( int n ) : string
n int
return string

Pluralize() public static method

public static Pluralize ( int n, string singular, string plural ) : string
n int
singular string
plural string
return string

PropertyFieldFitLabel() public static method

public static PropertyFieldFitLabel ( SerializedProperty property, GUIContent label = null, float extraSpace = 5f ) : void
property SerializedProperty
label GUIContent
extraSpace float
return void

PropertyFieldWideLabel() public static method

public static PropertyFieldWideLabel ( SerializedProperty property, GUIContent label = null, float minimumLabelWidth = 150 ) : void
property SerializedProperty
label GUIContent
minimumLabelWidth float
return void

SortingPropertyFields() public static method

public static SortingPropertyFields ( SerializedSortingProperties prop, bool applyModifiedProperties ) : void
prop SerializedSortingProperties
applyModifiedProperties bool
return void

TargetsUseSameData() public static method

public static TargetsUseSameData ( SerializedObject so ) : bool
so SerializedObject
return bool

UndoRedoPerformed() public static method

public static UndoRedoPerformed ( UnityEngine current ) : bool
current UnityEngine
return bool