修复Track GlobalChange

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-23 16:32:10 +08:00
parent 31d91e546d
commit 48e7364981
22 changed files with 2247 additions and 195 deletions

View File

@@ -213,7 +213,7 @@ Material:
- _Dst: 10
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EdgeValue: 0.5453637
- _EdgeValue: 0.9488194
- _EnvironmentReflections: 1
- _FNLfanxiangkaiguan: 0
- _Face: 1
@@ -258,7 +258,7 @@ Material:
- _Mask_scale: 1
- _Metallic: 0
- _OcclusionStrength: 1
- _Opacity: 0.45463628
- _Opacity: 0.0511806
- _Parallax: 0.005
- _Pass: 0
- _QueueOffset: 0

View File

@@ -80,6 +80,7 @@ MonoBehaviour:
perspectiveAngle: 60
orthographicSize: 10
perspectiveOffset: 0
zoomOffset: 0
--- !u!1 &261765279725222738
GameObject:
m_ObjectHideFlags: 0
@@ -211,7 +212,7 @@ Camera:
width: 1
height: 1
near clip plane: 0.1
far clip plane: 300
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 991a788aeb2b59e4894d0c072361098c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 753631091692ca345a8da0dd13e7d2bc
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5568a3795893a274f988fbc0b8fa5a07
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d61d4c3bc91f173489a2d1c8e311fdd6
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1 @@
Îa7Rÿ<52>ýÙ鼞¸7Wì)ʽòvßC¦D¹Ö°¹Xhùé×è×ÖœdÃa9ˆpLß1†6þÓô<C393>Àf¼ÙÁŽŠ¦.+3oÁ|†toûÎ1»l·3¹ØH“Wyט$1ú(³oïyÓë½Qf$]N¿Ý'øFAK<41>±A=^Öº€a8x}ãVA¦<|ºvˆ¿5ÀÔŽžCRâ£h¸Z[#€K?^ÊÞÒKæÖAš×¯Àš•·ë0F¥ØyÆèß…lTò<54>Zy«Õ$pL%÷¸Ã(*Bö .Xhœ/"ÊdœvÜÜ¥

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d95e0fc74d7593246b09ae4bc48539d9
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 844675ce254f9e74d89126cef4cb7453
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 27889ace589d71f4eb436267bd2078fa
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: df5741478be040c438dd802aec1c021a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Binary file not shown.

View File

@@ -80,19 +80,10 @@ namespace Ichni.RhythmGame
colorChanged = true;
}
if (track.trackTimeSubmodule is TrackTimeSubmoduleMovable)
if (colorChanged || forceImmediateRebuild)
{
if (colorChanged || forceImmediateRebuild)
{
RequestMeshRebuild();
}
return;
RequestMeshRebuild();
}
track.dirtyMarkSubmodule?.MarkDirty();
/*if (forceImmediateRebuild)
{
meshGenerator.RebuildImmediate();
}*/
}
public void RequestMeshRebuild()

View File

@@ -322,7 +322,15 @@ namespace Ichni
}
track.trackPathSubmodule?.path?.RunManualUpdate();
track.trackRendererSubmodule?.meshGenerator?.RunManualUpdate();
TrackRendererSubmodule rendererSubmodule = track.trackRendererSubmodule;
rendererSubmodule?.meshGenerator?.RunManualUpdate();
if (rendererSubmodule?.meshGenerator != null &&
track.trackTimeSubmodule is not TrackTimeSubmoduleMovable &&
rendererSubmodule.ConsumeMeshRebuildRequest())
{
rendererSubmodule.meshGenerator.RebuildImmediate();
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -23,7 +23,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 1
controlID: 69
controlID: 6547
draggingID: 0
--- !u!114 &2
MonoBehaviour:
@@ -50,7 +50,7 @@ MonoBehaviour:
x: 280
y: 79
width: 659
height: 530
height: 437
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -109,9 +109,9 @@ MonoBehaviour:
x: 0
y: 21
width: 659
height: 509
height: 416
m_Scale: {x: 0.34322917, y: 0.34322917}
m_Translation: {x: 329.5, y: 254.49998}
m_Translation: {x: 329.5, y: 208}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
@@ -119,12 +119,12 @@ MonoBehaviour:
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -960
y: -741.48706
y: -606.0091
width: 1920
height: 1482.9741
height: 1212.0182
m_MinimalGUI: 1
m_defaultScale: 0.34322917
m_LastWindowPixelSize: {x: 659, y: 530}
m_LastWindowPixelSize: {x: 659, y: 437}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 00000000000000000000
@@ -155,7 +155,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 70
controlID: 6548
draggingID: 0
--- !u!114 &4
MonoBehaviour:
@@ -181,7 +181,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 112}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 71
controlID: 6549
draggingID: 0
--- !u!114 &5
MonoBehaviour:
@@ -203,11 +203,11 @@ MonoBehaviour:
x: 0
y: 0
width: 878
height: 556
height: 463
m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 72
controlID: 6550
draggingID: 0
--- !u!114 &6
MonoBehaviour:
@@ -227,9 +227,9 @@ MonoBehaviour:
x: 0
y: 0
width: 217
height: 556
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
height: 463
m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 7}
m_Panes:
- {fileID: 7}
@@ -260,7 +260,7 @@ MonoBehaviour:
x: 63
y: 79
width: 216
height: 530
height: 437
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -278,10 +278,21 @@ MonoBehaviour:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
- m_Data: 84724
- m_Data: 48546
m_LastClickedID:
m_Data: 0
m_ExpandedIDs:
- m_Data: -84010
- m_Data: -83756
- m_Data: -80702
- m_Data: -80368
- m_Data: -80362
- m_Data: -77832
- m_Data: -72456
- m_Data: -17666
- m_Data: -17660
- m_Data: -13296
- m_Data: -10428
- m_Data: -1334
m_RenameOverlay:
m_UserAcceptedRename: 0
@@ -326,7 +337,7 @@ MonoBehaviour:
x: 217
y: 0
width: 661
height: 556
height: 463
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 2}
@@ -361,7 +372,7 @@ MonoBehaviour:
x: 280
y: 79
width: 659
height: 530
height: 437
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -404,12 +415,12 @@ MonoBehaviour:
displayed: 1
id: unity-scene-view-toolbar
index: 4
contents: '{"m_Layout":1,"m_Collapsed":false,"m_Folded":false,"m_Floating":false,"m_FloatingSnapOffset":{"x":-469.3333740234375,"y":25.333332061767579},"m_SnapOffsetDelta":{"x":0.0,"y":0.0},"m_FloatingSnapCorner":1,"m_Size":{"x":0.0,"y":0.0},"m_SizeOverridden":false}'
contents: '{"m_Layout":1,"m_Collapsed":false,"m_Folded":false,"m_Floating":false,"m_FloatingSnapOffset":{"x":-469.3333740234375,"y":-411.6666564941406},"m_SnapOffsetDelta":{"x":0.0,"y":0.0},"m_FloatingSnapCorner":3,"m_Size":{"x":0.0,"y":0.0},"m_SizeOverridden":false}'
floating: 0
collapsed: 0
snapOffset: {x: -469.33337, y: 25.333332}
snapOffset: {x: -469.33337, y: -411.66666}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 1
snapCorner: 3
layout: 1
size: {x: 0, y: 0}
sizeOverridden: 0
@@ -1030,9 +1041,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
m_Target: {x: -32.963146, y: -8.772848, z: 147.03879}
m_Target: {x: 54.57782, y: 10.02854, z: 643.43317}
speed: 2
m_Value: {x: -32.963146, y: -8.772848, z: 147.03879}
m_Value: {x: 54.57782, y: 10.02854, z: 643.43317}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -1078,13 +1089,13 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
m_Target: {x: 0.0059957774, y: -0.013268478, z: -0.00032572332, w: -1.0000522}
m_Target: {x: 0.08836473, y: 0.03326898, z: -0.0025345457, w: 0.99569273}
speed: 2
m_Value: {x: 0.005994829, y: -0.01326638, z: -0.0003256718, w: -0.999894}
m_Value: {x: 0.08835035, y: 0.033263568, z: -0.0025341334, w: 0.9955307}
m_Size:
m_Target: 218.97188
m_Target: 13.240099
speed: 2
m_Value: 218.97188
m_Value: 13.240099
m_Ortho:
m_Target: 0
speed: 2
@@ -1241,9 +1252,9 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 556
y: 463
width: 878
height: 245
height: 338
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 12}
@@ -1254,7 +1265,7 @@ MonoBehaviour:
- {fileID: 15}
- {fileID: 16}
m_Selected: 0
m_LastSelected: 1
m_LastSelected: 3
--- !u!114 &12
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -1278,9 +1289,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 63
y: 635
y: 542
width: 877
height: 219
height: 312
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1303,9 +1314,9 @@ MonoBehaviour:
m_SceneHandles: []
m_ShowAllHits: 0
m_SkipHidden: 0
m_SearchArea: 1
m_SearchArea: 0
m_Folders:
- Assets/Scenes
- Packages/com.unity.visualscripting/Runtime/VisualScripting.Flow/Framework/Events/Lifecycle
m_Globs: []
m_ProductIds:
m_AnyWithAssetOrigin: 0
@@ -1315,61 +1326,65 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 16
m_LastFolders:
- Assets/Scenes
- Packages/com.unity.visualscripting/Runtime/VisualScripting.Flow/Framework/Events/Lifecycle
m_LastFoldersGridSize: 16
m_LastProjectPath: C:\ichniOfficial\ichni_Official
m_LockTracker:
m_IsLocked: 0
m_LastLocalAssetsSearchArea: 1
m_LastLocalAssetsSearchArea: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 281}
scrollPos: {x: 0, y: 4028}
m_SelectedIDs:
- m_Data: 84894
- m_Data: 85278
m_LastClickedID:
m_Data: 84894
m_Data: 85278
m_ExpandedIDs:
- m_Data: 0
- m_Data: 84148
- m_Data: 84474
- m_Data: 84476
- m_Data: 84478
- m_Data: 84480
- m_Data: 84482
- m_Data: 84484
- m_Data: 84486
- m_Data: 84488
- m_Data: 84490
- m_Data: 84492
- m_Data: 84494
- m_Data: 84496
- m_Data: 84498
- m_Data: 84500
- m_Data: 84502
- m_Data: 84504
- m_Data: 84506
- m_Data: 84508
- m_Data: 84510
- m_Data: 84512
- m_Data: 84514
- m_Data: 84516
- m_Data: 84518
- m_Data: 84520
- m_Data: 84522
- m_Data: 84524
- m_Data: 84526
- m_Data: 84528
- m_Data: 84530
- m_Data: 84532
- m_Data: 84534
- m_Data: 84536
- m_Data: 84538
- m_Data: 84540
- m_Data: 84542
- m_Data: 84544
- m_Data: 84546
- m_Data: 84548
- m_Data: 84550
- m_Data: 84588
- m_Data: 84590
- m_Data: 84592
- m_Data: 84594
- m_Data: 84596
- m_Data: 84598
- m_Data: 84600
- m_Data: 84602
- m_Data: 84604
- m_Data: 84606
- m_Data: 84608
- m_Data: 84610
- m_Data: 84612
- m_Data: 84614
- m_Data: 84616
- m_Data: 84618
- m_Data: 84620
- m_Data: 84622
- m_Data: 84624
- m_Data: 84626
- m_Data: 84628
- m_Data: 84630
- m_Data: 84632
- m_Data: 84634
- m_Data: 84636
- m_Data: 84638
- m_Data: 84640
- m_Data: 84642
- m_Data: 84644
- m_Data: 84646
- m_Data: 84648
- m_Data: 84650
- m_Data: 84652
- m_Data: 84654
- m_Data: 84656
- m_Data: 84658
- m_Data: 84660
- m_Data: 84662
- m_Data: 84664
- m_Data: 84666
- m_Data: 84668
- m_Data: 84670
- m_Data: 84672
- m_Data: 1000000000
- m_Data: 2147483647
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -1402,46 +1417,50 @@ MonoBehaviour:
m_Data: 0
m_ExpandedIDs:
- m_Data: 0
- m_Data: 84148
- m_Data: 84474
- m_Data: 84476
- m_Data: 84478
- m_Data: 84480
- m_Data: 84482
- m_Data: 84484
- m_Data: 84486
- m_Data: 84488
- m_Data: 84490
- m_Data: 84492
- m_Data: 84494
- m_Data: 84496
- m_Data: 84498
- m_Data: 84500
- m_Data: 84502
- m_Data: 84504
- m_Data: 84506
- m_Data: 84508
- m_Data: 84510
- m_Data: 84512
- m_Data: 84514
- m_Data: 84516
- m_Data: 84518
- m_Data: 84520
- m_Data: 84522
- m_Data: 84524
- m_Data: 84526
- m_Data: 84528
- m_Data: 84530
- m_Data: 84532
- m_Data: 84534
- m_Data: 84536
- m_Data: 84538
- m_Data: 84540
- m_Data: 84542
- m_Data: 84544
- m_Data: 84546
- m_Data: 84548
- m_Data: 84550
- m_Data: 84588
- m_Data: 84590
- m_Data: 84592
- m_Data: 84594
- m_Data: 84596
- m_Data: 84598
- m_Data: 84600
- m_Data: 84602
- m_Data: 84604
- m_Data: 84606
- m_Data: 84608
- m_Data: 84610
- m_Data: 84612
- m_Data: 84614
- m_Data: 84616
- m_Data: 84618
- m_Data: 84620
- m_Data: 84622
- m_Data: 84624
- m_Data: 84626
- m_Data: 84628
- m_Data: 84630
- m_Data: 84632
- m_Data: 84634
- m_Data: 84636
- m_Data: 84638
- m_Data: 84640
- m_Data: 84642
- m_Data: 84644
- m_Data: 84646
- m_Data: 84648
- m_Data: 84650
- m_Data: 84652
- m_Data: 84654
- m_Data: 84656
- m_Data: 84658
- m_Data: 84660
- m_Data: 84662
- m_Data: 84664
- m_Data: 84666
- m_Data: 84668
- m_Data: 84670
- m_Data: 84672
- m_Data: 1000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -1469,9 +1488,9 @@ MonoBehaviour:
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs:
- m_Data: 84724
m_LastClickedInstanceID: 84724
m_HadKeyboardFocusLastEvent: 1
- m_Data: 48546
m_LastClickedInstanceID: 48546
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs:
- m_Data: 0
- m_Data: 80838
@@ -1533,7 +1552,7 @@ MonoBehaviour:
serializedVersion: 2
x: 63
y: 635
width: 889
width: 877
height: 219
m_SerializedDataModeController:
m_DataMode: 0
@@ -1611,10 +1630,10 @@ MonoBehaviour:
m_TextWithWhitespace: "AkWwisePicker\u200B"
m_Pos:
serializedVersion: 2
x: -2560
y: 898.6667
width: 1791.6666
height: 360.6667
x: 63
y: 635
width: 877
height: 219
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -2018,7 +2037,7 @@ MonoBehaviour:
m_CachedPref: 184.33334
m_ControlHash: 1412526313
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: 84724
m_LastInspectedObjectInstanceID: 48546
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0
@@ -2070,7 +2089,7 @@ MonoBehaviour:
m_CachedPref: 165.66669
m_ControlHash: 1412526313
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: 84724
m_LastInspectedObjectInstanceID: 48546
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0

File diff suppressed because it is too large Load Diff