拼ui 一些业务逻辑x实现
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user