We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d5d122 commit 750aa00Copy full SHA for 750aa00
EcsactWasm/Editor/EcsactWasmRuntimeSettingsEditor.cs
@@ -27,6 +27,8 @@ static EcsactWasmRuntimeSettingsEditor() {
27
public override void OnInspectorGUI() {
28
var settings = target as EcsactWasmRuntimeSettings;
29
if(settings == null) return;
30
+
31
+ EditorGUI.BeginChangeCheck();
32
33
if(systemLikeTypes == null) {
34
systemLikeTypes = Ecsact.Util.GetAllSystemLikeTypes().ToList();
@@ -114,6 +116,10 @@ public override void OnInspectorGUI() {
114
116
EditorGUILayout.EndHorizontal();
115
117
}
118
119
+ if (EditorGUI.EndChangeCheck()) {
120
+ EditorUtility.SetDirty(settings);
121
+ }
122
123
serializedObject.ApplyModifiedProperties();
124
125
0 commit comments