fix(anima): 动画片段及生成器修正
This commit is contained in:
@@ -536,10 +536,10 @@ namespace AibisDream.SystemEditor
|
||||
// 强制更新动画长度 (m_StopTime) - 修复复用已有 clip 时长度未更新的问题
|
||||
float totalDuration = keyframes.Count > 0 ? keyframes[keyframes.Count - 1].time : 0f;
|
||||
SerializedObject serializedClip = new SerializedObject(clip);
|
||||
SerializedProperty stopTimeProp = serializedClip.FindProperty("m_StopTime");
|
||||
if (stopTimeProp != null)
|
||||
SerializedProperty nestedStopTimeProp = serializedClip.FindProperty("m_AnimationClipSettings.m_StopTime");
|
||||
if (nestedStopTimeProp != null)
|
||||
{
|
||||
stopTimeProp.floatValue = totalDuration;
|
||||
nestedStopTimeProp.floatValue = totalDuration;
|
||||
serializedClip.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
|
||||
@@ -47,31 +47,14 @@ AnimationClip:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 0
|
||||
script: {fileID: 0}
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping:
|
||||
- {fileID: -1742218470230028808, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: -5764350979678766904, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: -3295365977225587294, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: -7725913967403012872, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: 6171193435392098681, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: 4940328948751707141, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: -3388567071384404738, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
- {fileID: -3388567071384404738, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
genericBindings: []
|
||||
pptrCurveMapping: []
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 1
|
||||
m_StopTime: 2.1
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
||||
@@ -151,83 +151,14 @@ AnimationClip:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 0
|
||||
script: {fileID: 0}
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping:
|
||||
- {fileID: -1062889630, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -327027807, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1387620772, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1266000741, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1015903885, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1913536615, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1348463442, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 655054780, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1811306191, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1799447284, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 268586092, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 2013570608, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1536116912, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -893634350, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1113262762, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 612176389, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1212674221, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1905144012, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 107010017, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1604526063, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1161501784, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -371573361, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1811948762, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1519237665, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1784970258, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1919434144, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -56916164, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 971103102, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1961209504, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 7160300, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 772947594, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1362363510, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1890008294, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1193889556, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -458241207, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 590715372, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1814082222, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 857396169, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -808103489, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 23202793, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 632370516, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -752973137, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -168533040, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1828903361, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1529389051, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 318913157, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1438094799, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1946452444, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1007282066, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -1797340712, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -770310545, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -2027996583, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1626927703, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1200916991, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -575718741, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 259168972, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: -2105996840, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 1964605132, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 2147209185, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
- {fileID: 2147209185, guid: 2160bf4f857aa5f4d853c824268588d0, type: 3}
|
||||
genericBindings: []
|
||||
pptrCurveMapping: []
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 1
|
||||
m_StopTime: 17.700003
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
||||
@@ -1205,7 +1205,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 200, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 80}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &190932926
|
||||
@@ -1590,7 +1590,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 200, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 80}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &237392156
|
||||
@@ -3198,7 +3198,7 @@ SpriteRenderer:
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 3
|
||||
m_Sprite: {fileID: -1742218470230028808, guid: e6b37dcb143583d43963b1bc8692bed6, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0.4745098}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
@@ -5750,10 +5750,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: feee73ba51d6e1a4da81ed7f94ab4694, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
runMode: 0
|
||||
firstTalkSo: {fileID: 11400000, guid: 2f763a2c04ecafb4981379b7363f9791, type: 2}
|
||||
testTalkSo: {fileID: 11400000, guid: afc5b01ef301cc74db7cae741acad427, type: 2}
|
||||
saveFileName: "20250901_204445_PeipeiDay1_\u8BB0\u5FC6\u68C0\u67E5"
|
||||
--- !u!1 &733035139
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -11491,7 +11488,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 200, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 80}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1611684201
|
||||
@@ -13436,9 +13433,9 @@ RectTransform:
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1696845842}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 200, y: -150}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 200, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 80}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1960600463
|
||||
|
||||
Reference in New Issue
Block a user