This commit is contained in:
SoulliesOfficial
2026-06-09 11:21:32 -04:00
parent e97646ae48
commit 997d187147
14 changed files with 243697 additions and 19663 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -45,6 +45,8 @@ namespace Ichni.RhythmGame
this.trackDisplay = UnityEngine.Object.Instantiate(EditorManager.instance.basePrefabs.trackDisplay, track.transform).GetComponent<SplineRenderer>();
this.trackDisplay.spline = path;
this.trackDisplay.size = 0.1f;
// 与 TrackRendererSubmodule 保持一致LateUpdate 模式消除一帧延迟
this.trackDisplay.updateMethod = SplineUser.UpdateMethod.LateUpdate;
this.SetDisplay(isShowingDisplay);

View File

@@ -27,7 +27,9 @@ namespace Ichni.RhythmGame
this.splineRenderer.doubleSided = true;
this.splineRenderer.clipFrom = 0;
this.splineRenderer.clipTo = 1;
this.splineRenderer.updateMethod = SplineUser.UpdateMethod.Update;
// LateUpdate 模式保证 MeshGenerator 在 SplineComputer.Update() 重采样之后才重建网格,
// 消除 Update 模式下因 MonoBehaviour 执行顺序不确定导致的一帧延迟。
this.splineRenderer.updateMethod = SplineUser.UpdateMethod.LateUpdate;
this.meshRenderer.material = renderMaterial;
this.splineRenderer.color = Color.white;
this.uvRotation = 0f;

View File

@@ -24,7 +24,9 @@ namespace Ichni.RhythmGame
this.pathGenerator.doubleSided = true;
this.pathGenerator.clipFrom = 0;
this.pathGenerator.clipTo = 1;
this.pathGenerator.updateMethod = SplineUser.UpdateMethod.Update;
// LateUpdate 模式保证 MeshGenerator 在 SplineComputer.Update() 重采样之后才重建网格,
// 消除 Update 模式下因 MonoBehaviour 执行顺序不确定导致的一帧延迟。
this.pathGenerator.updateMethod = SplineUser.UpdateMethod.LateUpdate;
this.meshRenderer.material = renderMaterial;
this.pathGenerator.color = Color.white;
this.uvRotation = 90f;

View File

@@ -24,7 +24,9 @@ namespace Ichni.RhythmGame
this.surface.doubleSided = true;
this.surface.clipFrom = 0;
this.surface.clipTo = 1;
this.surface.updateMethod = SplineUser.UpdateMethod.Update;
// LateUpdate 模式保证 MeshGenerator 在 SplineComputer.Update() 重采样之后才重建网格,
// 消除 Update 模式下因 MonoBehaviour 执行顺序不确定导致的一帧延迟。
this.surface.updateMethod = SplineUser.UpdateMethod.LateUpdate;
this.meshRenderer.material = renderMaterial;
this.surface.color = Color.white;
this.surface.uvRotation = 90;

View File

@@ -27,7 +27,9 @@ namespace Ichni.RhythmGame
this.tubeGenerator.doubleSided = true;
this.tubeGenerator.clipFrom = 0;
this.tubeGenerator.clipTo = 1;
this.tubeGenerator.updateMethod = SplineUser.UpdateMethod.Update;
// LateUpdate 模式保证 MeshGenerator 在 SplineComputer.Update() 重采样之后才重建网格,
// 消除 Update 模式下因 MonoBehaviour 执行顺序不确定导致的一帧延迟。
this.tubeGenerator.updateMethod = SplineUser.UpdateMethod.LateUpdate;
this.meshRenderer.material = renderMaterial;
this.tubeGenerator.color = Color.white;
this.tubeGenerator.uvRotation = 90;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

View File

@@ -1,6 +1,6 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
CRC: 2709437798
CRC: 3622409616
HashAppended: 0
AssetBundleManifest:
AssetBundleInfos:

View File

@@ -1,16 +1,16 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
CRC: 676293838
CRC: 582696466
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: f0364044c623ed1d5aaeb559a7c009e6
Hash: bf570dc2fdd32aa5271fd3ce50d49ba4
TypeTreeHash:
serializedVersion: 2
Hash: 0c8f2af2122906b6fb7d5b5413f3c41f
IncrementalBuildHash:
serializedVersion: 2
Hash: fc0e6b6f033e9bd46f9e46bed69eabba
Hash: 3c1b6e5fafd24712daa0e9e5731f3684
HashAppended: 0
ClassTypes:
- Class: 1

View File

@@ -17,7 +17,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &448133524246398677
Transform:
m_ObjectHideFlags: 0
@@ -10004,7 +10004,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &4577072593820393137
Transform:
m_ObjectHideFlags: 0
@@ -19762,7 +19762,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &4577072594143320191
Transform:
m_ObjectHideFlags: 0
@@ -24668,7 +24668,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &4577072594657777397
Transform:
m_ObjectHideFlags: 0