拼ui 一些业务逻辑x实现

This commit is contained in:
2026-03-19 06:15:09 +08:00
parent f5c6f143c0
commit 49e45ac464
1118 changed files with 246518 additions and 5368 deletions
+4 -1
View File
@@ -189,7 +189,10 @@ public class Player_SO : ScriptableObject
private void PersistEditorChanges()
{
#if UNITY_EDITOR
UnityEditor.EditorUtility.SetDirty(this);
if (!Application.isPlaying)
{
UnityEditor.EditorUtility.SetDirty(this);
}
#endif
}
}