fix: record prefab instance property modifications

This commit is contained in:
nekobako 2024-08-19 16:26:19 +09:00
parent 86bdf934cc
commit 8b09313939
2 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,8 @@ namespace nadena.dev.modular_avatar.core.editor.ShapeChanger
ChangeType = ShapeChangeType.Delete,
Value = 100
});
PrefabUtility.RecordPrefabInstancePropertyModifications(changer);
}
public override void OnGUI(Rect rect)

View File

@ -97,6 +97,8 @@ namespace nadena.dev.modular_avatar.core.editor.ShapeChanger
ChangeType = ShapeChangeType.Delete,
Value = 100
});
PrefabUtility.RecordPrefabInstancePropertyModifications(changer);
}
}
}