Skip to content

Commit

Permalink
fix: when enabling C# Settings in asmdef inspector, edits are lost
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Dec 16, 2020
1 parent 1858247 commit 0a988fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Editor/InspectorGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ private static void OnPostHeaderGUI(Editor editor)
onRevert: () => _assetPath = null,
onApply: () =>
{
_assetPath = null;
_serializedObject.ApplyModifiedProperties();
importer.userData = JsonUtility.ToJson(_serializedObject.targetObject);
importer.SaveAndReimport();
Expand Down

0 comments on commit 0a988fa

Please sign in to comment.