mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 17:48:45 +08:00
[unity] Minor formatting.
This commit is contained in:
parent
c36e0a93ed
commit
594e287721
@ -1,4 +1,4 @@
|
||||
/******************************************************************************
|
||||
/******************************************************************************
|
||||
* Spine Runtimes Software License v2.5
|
||||
*
|
||||
* Copyright (c) 2013-2016, Esoteric Software
|
||||
|
||||
@ -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);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user