com.wallstop-studios.unity-helpers 1.0.1-rc13 → 1.0.1-rc14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -260,7 +260,6 @@
|
|
|
260
260
|
if (GUILayout.Button("Save"))
|
|
261
261
|
{
|
|
262
262
|
SaveAnimation();
|
|
263
|
-
AssetDatabase.SaveAssets();
|
|
264
263
|
}
|
|
265
264
|
|
|
266
265
|
GUI.color = oldColor;
|
|
@@ -739,6 +738,7 @@
|
|
|
739
738
|
{
|
|
740
739
|
AnimationUtility.SetAnimationEvents(_currentClip, _state.Select(item => item.animationEvent).ToArray());
|
|
741
740
|
EditorUtility.SetDirty(_currentClip);
|
|
741
|
+
AssetDatabase.SaveAssetIfDirty(_currentClip);
|
|
742
742
|
_baseClipEvents.Clear();
|
|
743
743
|
foreach (AnimationEventItem item in _state)
|
|
744
744
|
{
|