mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 23:05:01 +08:00
[unity] Minor editor changes.
This commit is contained in:
parent
5532ca290d
commit
c744c9a7d7
@ -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) {
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user