Skip to content

Commit 77b3fe9

Browse files
committed
WIP
1 parent ff61a76 commit 77b3fe9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/InputActionsEditorWindow.cs

+6-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,12 @@ private bool HasContentChanged()
282282
{
283283
var editedAsset = GetEditedAsset();
284284
var editedAssetJson = InputActionsEditorWindowUtils.ToJsonWithoutName(editedAsset);
285-
return editedAssetJson != m_AssetJson;
285+
var hasContentChanged = editedAssetJson != m_AssetJson;
286+
if (hasContentChanged)
287+
{
288+
Debug.LogError("Content Changed");
289+
}
290+
return hasContentChanged;
286291
}
287292

288293
private void DirtyInputActionsEditorWindow(InputActionsEditorState newState)

0 commit comments

Comments
 (0)