mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-26 03:31:24 +08:00
[unity] Cleanup line endings.
This commit is contained in:
parent
c9c360fa88
commit
216441ac4a
@ -101,6 +101,7 @@ namespace Spine.Unity.Editor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
position = EditorGUI.PrefixLabel(position, label);
|
position = EditorGUI.PrefixLabel(position, label);
|
||||||
|
|
||||||
var image = Icon;
|
var image = Icon;
|
||||||
var propertyStringValue = (property.hasMultipleDifferentValues) ? SpineInspectorUtility.EmDash : property.stringValue;
|
var propertyStringValue = (property.hasMultipleDifferentValues) ? SpineInspectorUtility.EmDash : property.stringValue;
|
||||||
if (GUI.Button(position, string.IsNullOrEmpty(propertyStringValue) ? NoneLabel(image) : SpineInspectorUtility.TempContent(propertyStringValue, image), EditorStyles.popup))
|
if (GUI.Button(position, string.IsNullOrEmpty(propertyStringValue) ? NoneLabel(image) : SpineInspectorUtility.TempContent(propertyStringValue, image), EditorStyles.popup))
|
||||||
|
|||||||
@ -126,7 +126,7 @@ namespace Spine.Unity {
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
protected override void ClearState () {
|
public override void ClearState () {
|
||||||
base.ClearState();
|
base.ClearState();
|
||||||
if (state != null) state.ClearTracks();
|
if (state != null) state.ClearTracks();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -149,7 +149,7 @@ namespace Spine.Unity {
|
|||||||
rendererBuffers.Dispose();
|
rendererBuffers.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void ClearState () {
|
public virtual void ClearState () {
|
||||||
meshFilter.sharedMesh = null;
|
meshFilter.sharedMesh = null;
|
||||||
currentInstructions.Clear();
|
currentInstructions.Clear();
|
||||||
if (skeleton != null) skeleton.SetToSetupPose();
|
if (skeleton != null) skeleton.SetToSetupPose();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user