[unity] Minor editor changes.

This commit is contained in:
pharan 2016-07-21 22:32:33 +08:00
parent 5532ca290d
commit c744c9a7d7
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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();