From c744c9a7d7b82b07235737f581e5cb7e9cecb574 Mon Sep 17 00:00:00 2001 From: pharan Date: Thu, 21 Jul 2016 22:32:33 +0800 Subject: [PATCH] [unity] Minor editor changes. --- .../Modules/BoundingBoxFollower/BoundingBoxFollower.cs | 2 +- .../BoundingBoxFollower/Editor/BoundingBoxFollowerInspector.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/BoundingBoxFollower.cs b/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/BoundingBoxFollower.cs index f6ef88814..38e1fce87 100644 --- a/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/BoundingBoxFollower.cs +++ b/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/BoundingBoxFollower.cs @@ -112,7 +112,7 @@ namespace Spine.Unity { #if UNITY_EDITOR if (attachment != null && boundingBoxAttachment == null) - Debug.Log("BoundingBoxFollower tried to follow a slot that contains non-boundingbox attachments."); + Debug.Log("BoundingBoxFollower tried to follow a slot that contains non-boundingbox attachments: " + slotName); #endif if (boundingBoxAttachment != null) { diff --git a/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/Editor/BoundingBoxFollowerInspector.cs b/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/Editor/BoundingBoxFollowerInspector.cs index 2968a7c60..d59267248 100644 --- a/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/Editor/BoundingBoxFollowerInspector.cs +++ b/spine-unity/Assets/spine-unity/Modules/BoundingBoxFollower/Editor/BoundingBoxFollowerInspector.cs @@ -60,7 +60,7 @@ namespace Spine.Unity.Editor { EditorGUI.BeginChangeCheck(); EditorGUILayout.PropertyField(skeletonRenderer); EditorGUILayout.PropertyField(slotName, new GUIContent("Slot")); - EditorGUILayout.PropertyField(isTrigger, new GUIContent ("IsTrigger")); + EditorGUILayout.PropertyField(isTrigger); if (EditorGUI.EndChangeCheck()) { serializedObject.ApplyModifiedProperties();