序列帧播放的问题处理完成

This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-04 21:26:33 +08:00
parent 4e9016032f
commit 5a949adfcc
7 changed files with 119 additions and 114 deletions

View File

@ -457,11 +457,11 @@ RectTransform:
- {fileID: 5645085182591318069}
m_Father: {fileID: 1814839733780877975}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 288, y: 16}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 288, y: 11}
m_SizeDelta: {x: 512, y: 288}
m_Pivot: {x: 0, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1305560110852435988
CanvasRenderer:
m_ObjectHideFlags: 0

View File

@ -78,7 +78,7 @@ namespace GameLogic
TextureEntry textureEntry = DataGameSceneManager.Instance.m_TextureManager.GetTexture("1");
// 播放序列图
PlayTextureSequence(textureEntry, 0.1f, true);
PlayTextureSequence(textureEntry, 0.05f, true);
}
@ -257,8 +257,11 @@ namespace GameLogic
{
base.OnUpdate();
// 更新序列图播放逻辑
UpdateTextureSequence(Time.deltaTime);
}
}
}

View File

@ -81,7 +81,6 @@ namespace GameLogic
DataGameSceneManager.Instance.m_DicTeamList.Add((i + 1).ToString(), actorHItem);
DataGameSceneManager.Instance.m_TeamSortList.Add(actorHItem);
}
}
protected override void OnUpdate()
@ -119,6 +118,7 @@ namespace GameLogic
}
});
}
protected override void RegisterEvent()

View File

@ -525,7 +525,6 @@ namespace TEngine
removeIcon.Add(icon);
}
}
for (var index = 0; index < removeIcon.Count; index++)
{
var icon = removeIcon[index];

View File

@ -137,6 +137,7 @@ namespace TEngine
OnUpdate();
needUpdate = true;
}
TProfiler.EndSample();
return needUpdate;

View File

@ -309,9 +309,11 @@ namespace TEngine
}
else
{
listChild = listNextUpdateChild;
// 原版这里好像是有个Bug后续细看
//listChild = listNextUpdateChild;
listChild = ListChild;
}
for (int i = 0; i < listChild.Count; i++)
{
var uiWidget = listChild[i];

View File

@ -21,12 +21,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 30
width: 2560
height: 1307
width: 1920
height: 947
m_MinSize: {x: 400, y: 100}
m_MaxSize: {x: 32384, y: 16192}
vertical: 0
controlID: 146
controlID: 2664
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@ -47,10 +47,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
y: 737
width: 1104
height: 622
x: -1920
y: 253
width: 758
height: 756
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -75,8 +75,8 @@ MonoBehaviour:
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 09000000000000000000000000000000000000000000000000000000000000000000000000000000
m_Stats: 1
m_SelectedSizes: 07000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
@ -94,7 +94,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
@ -103,23 +103,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 1104
height: 601
m_Scale: {x: 0.2568376, y: 0.2568376}
m_Translation: {x: 552, y: 300.5}
width: 758
height: 735
m_Scale: {x: 0.31410256, y: 0.31410256}
m_Translation: {x: 379, y: 367.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -2149.218
x: -1206.6123
y: -1170
width: 4298.436
width: 2413.2246
height: 2340
m_MinimalGUI: 1
m_defaultScale: 0.2568376
m_LastWindowPixelSize: {x: 1104, y: 622}
m_defaultScale: 0.31410256
m_LastWindowPixelSize: {x: 758, y: 756}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
@ -144,12 +144,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1105
height: 1307
width: 759
height: 947
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 8096, y: 16192}
vertical: 1
controlID: 27
controlID: 2665
--- !u!114 &4
MonoBehaviour:
m_ObjectHideFlags: 52
@ -167,8 +167,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1105
height: 664
width: 759
height: 170
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 5}
@ -197,10 +197,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
y: 73
width: 1104
height: 643
x: -1920
y: 83
width: 758
height: 149
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -229,7 +229,7 @@ MonoBehaviour:
collapsed: 0
displayed: 1
snapOffset: {x: -141, y: 149}
snapOffsetDelta: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: -26}
snapCorner: 1
id: unity-grid-and-snap-toolbar
index: 1
@ -255,7 +255,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 1
id: unity-search-toolbar
index: 1
@ -267,9 +267,9 @@ MonoBehaviour:
floating: 0
collapsed: 0
displayed: 1
snapOffset: {x: 0, y: -199}
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 2
snapCorner: 0
id: unity-transform-toolbar
index: 0
layout: 2
@ -293,7 +293,7 @@ MonoBehaviour:
floating: 0
collapsed: 0
displayed: 1
snapOffset: {x: 67.5, y: 97}
snapOffset: {x: 67.5, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Orientation
@ -307,7 +307,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Scene View/Light Settings
index: 2
@ -333,7 +333,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Scene View/Cloth Constraints
index: 3
@ -346,7 +346,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Scene View/Cloth Collisions
index: 4
@ -398,7 +398,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Scene View/Occlusion Culling
index: 5
@ -411,7 +411,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Scene View/Physics Debugger
index: 6
@ -424,7 +424,7 @@ MonoBehaviour:
collapsed: 0
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
id: Scene View/Scene Visibility
index: 7
@ -436,8 +436,8 @@ MonoBehaviour:
floating: 0
collapsed: 0
displayed: 0
snapOffset: {x: -231, y: -174}
snapOffsetDelta: {x: 0, y: 0}
snapOffset: {x: -231, y: -172}
snapOffsetDelta: {x: 0, y: 23}
snapCorner: 3
id: Scene View/Particles
index: 8
@ -514,9 +514,9 @@ MonoBehaviour:
floating: 0
collapsed: 0
displayed: 1
snapOffset: {x: 48, y: 25}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
snapOffset: {x: 48, y: -324}
snapOffsetDelta: {x: 0, y: 175}
snapCorner: 2
id: AINavigationOverlay
index: 9
layout: 4
@ -617,16 +617,16 @@ MonoBehaviour:
m_WindowGUID: fd366412dc15c644187f1144da6c7a52
m_Gizmos: 1
m_OverrideSceneCullingMask: 6917529027641081856
m_SceneIsLit: 1
m_SceneIsLit: 0
m_SceneLighting: 1
m_2DMode: 1
m_2DMode: 0
m_isRotationLocked: 0
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -20.19965, y: 17.077642, z: -0.4077984}
m_Target: {x: 324.1, y: 156.00914, z: 46.5}
speed: 2
m_Value: {x: -20.19965, y: 17.077642, z: -0.4077984}
m_Value: {x: 324.1, y: 156.00914, z: 46.5}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -654,17 +654,17 @@ MonoBehaviour:
m_Size: {x: 0, y: 0}
yGrid:
m_Fade:
m_Target: 0
m_Target: 1
speed: 2
m_Value: 0
m_Value: 1
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
m_Pivot: {x: 0, y: 0, z: 0}
m_Size: {x: 1, y: 1}
zGrid:
m_Fade:
m_Target: 1
m_Target: 0
speed: 2
m_Value: 1
m_Value: 0
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
m_Pivot: {x: 0, y: 0, z: 0}
m_Size: {x: 1, y: 1}
@ -672,17 +672,17 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
m_Target: {x: 0, y: 0, z: 0, w: 1}
m_Target: {x: -0.050968517, y: 0.25971013, z: -0.013727496, w: -0.9642416}
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Value: {x: -0.050968517, y: 0.25971013, z: -0.013727496, w: -0.9642416}
m_Size:
m_Target: 50.77975
m_Target: 54.544514
speed: 2
m_Value: 50.77975
m_Value: 54.544514
m_Ortho:
m_Target: 1
m_Target: 0
speed: 2
m_Value: 1
m_Value: 0
m_CameraSettings:
m_Speed: 1
m_SpeedNormalized: 0.5
@ -696,7 +696,7 @@ MonoBehaviour:
m_FarClip: 10000
m_DynamicClip: 1
m_OcclusionCulling: 0
m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
m_LastSceneViewRotation: {x: -0.050968517, y: 0.25971013, z: -0.013727496, w: -0.9642416}
m_LastSceneViewOrtho: 0
m_ReplacementShader: {fileID: 0}
m_ReplacementString:
@ -723,10 +723,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
y: 73
width: 1104
height: 643
x: -1920
y: 83
width: 758
height: 373
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -753,11 +753,11 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 664
width: 1105
height: 643
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
y: 170
width: 759
height: 777
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 2}
m_Panes:
- {fileID: 2}
@ -778,12 +778,12 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1105
x: 759
y: 0
width: 384
height: 1307
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
width: 309
height: 947
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 9}
m_Panes:
- {fileID: 9}
@ -809,10 +809,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1105
y: 73
width: 382
height: 1286
x: -1161
y: 83
width: 307
height: 926
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -828,7 +828,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: a4f7ffff
m_ExpandedIDs: 0efbffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -844,7 +844,7 @@ MonoBehaviour:
m_IsRenaming: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 0
m_ClientGUIView: {fileID: 4}
m_ClientGUIView: {fileID: 8}
m_SearchString:
m_ExpandedScenes: []
m_CurrenRootInstanceID: 0
@ -867,10 +867,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1489
x: 1068
y: 0
width: 605
height: 1307
width: 443
height: 947
m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021}
m_ActualView: {fileID: 11}
@ -898,10 +898,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1489
y: 73
width: 603
height: 1286
x: -852
y: 83
width: 441
height: 926
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -923,7 +923,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/GameScripts/HotFix/GameLogic/Actor
- Assets/AssetRaw/UI
m_Globs: []
m_OriginalText:
m_ImportLogFlags: 0
@ -931,16 +931,16 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 16
m_LastFolders:
- Assets/GameScripts/HotFix/GameLogic/Actor
- Assets/AssetRaw/UI
m_LastFoldersGridSize: 16
m_LastProjectPath: D:\ZqdnGameProject\UnityProject
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: aa750000
m_LastClickedID: 30122
m_ExpandedIDs: 0000000010730000127300001473000016730000187300001a7300001c7300001e730000207300002273000026730000287300002a7300002c7300002e73000030730000327300003473000036730000387300003a7300001e74000028740000ac75000000ca9a3b
scrollPos: {x: 0, y: 159}
m_SelectedIDs: f0770000
m_LastClickedID: 30704
m_ExpandedIDs: 00000000d0760000d2760000d4760000d6760000d8760000da760000dc760000de760000e0760000e2760000e4760000e6760000e8760000ea760000ec760000ee760000f0760000f2760000f4760000f6760000f8760000fa760000fc760000fe76000000770000027700000477000006770000087700000a7700000c7700000e77000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -968,7 +968,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 0000000010730000127300001473000016730000187300001a7300001c7300001e73000020730000227300002473000026730000287300002a7300002c7300002e73000030730000327300003473000036730000387300003a730000
m_ExpandedIDs: 00000000d0760000d2760000d4760000d6760000d8760000da760000dc760000de760000e0760000e2760000e4760000e6760000e8760000ea760000ec760000ee760000f0760000f2760000f4760000f6760000f8760000fa760000fc760000fe76000000770000027700000477000006770000087700000a7700000c7700000e77000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -995,8 +995,8 @@ MonoBehaviour:
m_ListAreaState:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: 06a60100e45e0000f49c00004c6c0000486c000052980000f0d30100000000002a6e0000a26e0000c46e0000c26e0000be7800003c8b00000485000084d600000cb00000fa8e0000e06d00003673000056720000a68e0000a8720000d07800003e740000
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs: 06a60100e45e0000f49c00004c6c0000486c000052980000f0d301002a6e0000a26e0000c46e0000c26e0000be7800003c8b00000485000084d600000cb00000fa8e0000e06d00003673000056720000a68e0000a8720000d07800003e740000d6330000000000007c040000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -1023,7 +1023,7 @@ MonoBehaviour:
m_ScrollPosition: {x: 0, y: 0}
m_GridSize: 16
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 158
m_DirectoriesAreaWidth: 183
--- !u!114 &12
MonoBehaviour:
m_ObjectHideFlags: 52
@ -1039,12 +1039,12 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 2094
x: 1511
y: 0
width: 466
height: 1307
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
width: 409
height: 947
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 13}
m_Panes:
- {fileID: 13}
@ -1070,10 +1070,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2094
y: 73
width: 465
height: 1286
x: -409
y: 83
width: 408
height: 926
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@ -1087,7 +1087,7 @@ MonoBehaviour:
m_ObjectsLockedBeforeSerialization: []
m_InstanceIDsLockedBeforeSerialization:
m_PreviewResizer:
m_CachedPref: 642
m_CachedPref: 339
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: -1