mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update AnimationHierarchyEditorTool.cs
This commit is contained in:
@@ -839,7 +839,7 @@ namespace TEngine.Editor
|
|||||||
|
|
||||||
int _GetMemSize()
|
int _GetMemSize()
|
||||||
{
|
{
|
||||||
return Profiler.GetRuntimeMemorySize(_clip);
|
return (int)Profiler.GetRuntimeMemorySizeLong(_clip);
|
||||||
}
|
}
|
||||||
|
|
||||||
int _GetInspectorSize()
|
int _GetInspectorSize()
|
||||||
@@ -872,7 +872,9 @@ namespace TEngine.Editor
|
|||||||
{
|
{
|
||||||
//浮点数精度压缩到f3
|
//浮点数精度压缩到f3
|
||||||
AnimationClipCurveData[] curves = null;
|
AnimationClipCurveData[] curves = null;
|
||||||
|
#pragma warning disable CS0618
|
||||||
curves = AnimationUtility.GetAllCurves(_clip);
|
curves = AnimationUtility.GetAllCurves(_clip);
|
||||||
|
#pragma warning restore CS0618
|
||||||
Keyframe key;
|
Keyframe key;
|
||||||
Keyframe[] keyFrames;
|
Keyframe[] keyFrames;
|
||||||
string floatFormat;
|
string floatFormat;
|
||||||
|
Reference in New Issue
Block a user