同步
This commit is contained in:
37117
Assets/FR2_Cache.asset
37117
Assets/FR2_Cache.asset
File diff suppressed because it is too large
Load Diff
@@ -45,6 +45,8 @@ namespace Ichni.RhythmGame
|
|||||||
this.trackDisplay = UnityEngine.Object.Instantiate(EditorManager.instance.basePrefabs.trackDisplay, track.transform).GetComponent<SplineRenderer>();
|
this.trackDisplay = UnityEngine.Object.Instantiate(EditorManager.instance.basePrefabs.trackDisplay, track.transform).GetComponent<SplineRenderer>();
|
||||||
this.trackDisplay.spline = path;
|
this.trackDisplay.spline = path;
|
||||||
this.trackDisplay.size = 0.1f;
|
this.trackDisplay.size = 0.1f;
|
||||||
|
// 与 TrackRendererSubmodule 保持一致:LateUpdate 模式消除一帧延迟
|
||||||
|
this.trackDisplay.updateMethod = SplineUser.UpdateMethod.LateUpdate;
|
||||||
|
|
||||||
this.SetDisplay(isShowingDisplay);
|
this.SetDisplay(isShowingDisplay);
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,9 @@ namespace Ichni.RhythmGame
|
|||||||
this.splineRenderer.doubleSided = true;
|
this.splineRenderer.doubleSided = true;
|
||||||
this.splineRenderer.clipFrom = 0;
|
this.splineRenderer.clipFrom = 0;
|
||||||
this.splineRenderer.clipTo = 1;
|
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.meshRenderer.material = renderMaterial;
|
||||||
this.splineRenderer.color = Color.white;
|
this.splineRenderer.color = Color.white;
|
||||||
this.uvRotation = 0f;
|
this.uvRotation = 0f;
|
||||||
|
|||||||
@@ -24,7 +24,9 @@ namespace Ichni.RhythmGame
|
|||||||
this.pathGenerator.doubleSided = true;
|
this.pathGenerator.doubleSided = true;
|
||||||
this.pathGenerator.clipFrom = 0;
|
this.pathGenerator.clipFrom = 0;
|
||||||
this.pathGenerator.clipTo = 1;
|
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.meshRenderer.material = renderMaterial;
|
||||||
this.pathGenerator.color = Color.white;
|
this.pathGenerator.color = Color.white;
|
||||||
this.uvRotation = 90f;
|
this.uvRotation = 90f;
|
||||||
|
|||||||
@@ -24,7 +24,9 @@ namespace Ichni.RhythmGame
|
|||||||
this.surface.doubleSided = true;
|
this.surface.doubleSided = true;
|
||||||
this.surface.clipFrom = 0;
|
this.surface.clipFrom = 0;
|
||||||
this.surface.clipTo = 1;
|
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.meshRenderer.material = renderMaterial;
|
||||||
this.surface.color = Color.white;
|
this.surface.color = Color.white;
|
||||||
this.surface.uvRotation = 90;
|
this.surface.uvRotation = 90;
|
||||||
|
|||||||
@@ -27,7 +27,9 @@ namespace Ichni.RhythmGame
|
|||||||
this.tubeGenerator.doubleSided = true;
|
this.tubeGenerator.doubleSided = true;
|
||||||
this.tubeGenerator.clipFrom = 0;
|
this.tubeGenerator.clipFrom = 0;
|
||||||
this.tubeGenerator.clipTo = 1;
|
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.meshRenderer.material = renderMaterial;
|
||||||
this.tubeGenerator.color = Color.white;
|
this.tubeGenerator.color = Color.white;
|
||||||
this.tubeGenerator.uvRotation = 90;
|
this.tubeGenerator.uvRotation = 90;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
224004
Assets/StreamingAssets/AutoSave/solitudes hd/AutoSave_1.json
Normal file
224004
Assets/StreamingAssets/AutoSave/solitudes hd/AutoSave_1.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fbd52e1410bc99944b7524268744bf77
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
ManifestFileVersion: 0
|
ManifestFileVersion: 0
|
||||||
UnityVersion: 6000.3.7f1
|
UnityVersion: 6000.3.7f1
|
||||||
CRC: 2709437798
|
CRC: 3622409616
|
||||||
HashAppended: 0
|
HashAppended: 0
|
||||||
AssetBundleManifest:
|
AssetBundleManifest:
|
||||||
AssetBundleInfos:
|
AssetBundleInfos:
|
||||||
|
|||||||
Binary file not shown.
@@ -1,16 +1,16 @@
|
|||||||
ManifestFileVersion: 0
|
ManifestFileVersion: 0
|
||||||
UnityVersion: 6000.3.7f1
|
UnityVersion: 6000.3.7f1
|
||||||
CRC: 676293838
|
CRC: 582696466
|
||||||
Hashes:
|
Hashes:
|
||||||
AssetFileHash:
|
AssetFileHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: f0364044c623ed1d5aaeb559a7c009e6
|
Hash: bf570dc2fdd32aa5271fd3ce50d49ba4
|
||||||
TypeTreeHash:
|
TypeTreeHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: 0c8f2af2122906b6fb7d5b5413f3c41f
|
Hash: 0c8f2af2122906b6fb7d5b5413f3c41f
|
||||||
IncrementalBuildHash:
|
IncrementalBuildHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: fc0e6b6f033e9bd46f9e46bed69eabba
|
Hash: 3c1b6e5fafd24712daa0e9e5731f3684
|
||||||
HashAppended: 0
|
HashAppended: 0
|
||||||
ClassTypes:
|
ClassTypes:
|
||||||
- Class: 1
|
- Class: 1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!4 &448133524246398677
|
--- !u!4 &448133524246398677
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -10004,7 +10004,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!4 &4577072593820393137
|
--- !u!4 &4577072593820393137
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -19762,7 +19762,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!4 &4577072594143320191
|
--- !u!4 &4577072594143320191
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -24668,7 +24668,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!4 &4577072594657777397
|
--- !u!4 &4577072594657777397
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user