Skip to content

Commit

Permalink
fixes assembly definition not saving problem (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy authored Nov 19, 2022
1 parent 55fe6ca commit 97210ca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public override void OnInspectorGUI() {
settings,
EcsactRuntimeSettings.Get()
);
EditorUtility.SetDirty(settings);
AssetDatabase.SaveAssetIfDirty(settings);
}

if(settings.systemImplsAssembly != null) {
Expand Down Expand Up @@ -189,6 +191,7 @@ public override void OnInspectorGUI() {
.LoadAssetAtPath<UnityEditorInternal.AssemblyDefinitionAsset>(
newAsmDefPath
);
EditorUtility.SetDirty(settings);
AssetDatabase.SaveAssetIfDirty(settings);
}
}
Expand Down

0 comments on commit 97210ca

Please sign in to comment.