[unity] Minor formatting.

This commit is contained in:
pharan 2018-12-13 05:30:39 +08:00
parent c36e0a93ed
commit 594e287721
5 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/******************************************************************************
/******************************************************************************
* Spine Runtimes Software License v2.5
*
* Copyright (c) 2013-2016, Esoteric Software

View File

@ -188,8 +188,8 @@ namespace Spine.Unity.Editor {
Preferences.Load();
var assets = AssetDatabase.FindAssets("t:script SpineEditorUtilities");
var assetPath = AssetDatabase.GUIDToAssetPath(assets[0]);
string[] assets = AssetDatabase.FindAssets("t:script SpineEditorUtilities");
string assetPath = AssetDatabase.GUIDToAssetPath(assets[0]);
editorPath = Path.GetDirectoryName(assetPath).Replace("\\", "/");
editorGUIPath = editorPath + "/GUI";
@ -2121,7 +2121,7 @@ namespace Spine.Unity.Editor {
float firstScale = 0.08f * scale;
Handles.DrawSolidDisc(pos, normal, firstScale);
const float Thickness = 0.03f;
float secondScale = firstScale - (Thickness * SpineHandles.handleScale * scale);
float secondScale = firstScale - (Thickness * SpineHandles.handleScale * scale);
if (secondScale > 0f) {
Handles.color = new Color(0.3f, 0.3f, 0.3f, 0.5f);