[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 UNITY_EDITOR
if (attachment != null && boundingBoxAttachment == null) 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 #endif
if (boundingBoxAttachment != null) { if (boundingBoxAttachment != null) {

View File

@ -60,7 +60,7 @@ namespace Spine.Unity.Editor {
EditorGUI.BeginChangeCheck(); EditorGUI.BeginChangeCheck();
EditorGUILayout.PropertyField(skeletonRenderer); EditorGUILayout.PropertyField(skeletonRenderer);
EditorGUILayout.PropertyField(slotName, new GUIContent("Slot")); EditorGUILayout.PropertyField(slotName, new GUIContent("Slot"));
EditorGUILayout.PropertyField(isTrigger, new GUIContent ("IsTrigger")); EditorGUILayout.PropertyField(isTrigger);
if (EditorGUI.EndChangeCheck()) { if (EditorGUI.EndChangeCheck()) {
serializedObject.ApplyModifiedProperties(); serializedObject.ApplyModifiedProperties();