From 880387b2efc93764b4e05f136ea13a71b004cffc Mon Sep 17 00:00:00 2001 From: yojohanshinwataikei Date: Fri, 30 Jun 2023 21:18:13 +0800 Subject: [PATCH] Fix newly created arc effect in runtime+0.4.6 --- Assets/Materials/Player/TrackBorderLeft.mat | 2 +- Assets/Materials/Player/TrackBorderRight.mat | 2 +- Assets/Materials/Player/TrackMain.mat | 2 +- Assets/Misc/BuildTimestamp.txt | 2 +- Assets/Scripts/Compose/Editing/Operations/AdeClickToCreate.cs | 2 +- Assets/Scripts/Gameplay/Chart/ArcChart.cs | 2 +- ProjectSettings/ProjectSettings.asset | 3 ++- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Assets/Materials/Player/TrackBorderLeft.mat b/Assets/Materials/Player/TrackBorderLeft.mat index 04544ff..4aa4210 100644 --- a/Assets/Materials/Player/TrackBorderLeft.mat +++ b/Assets/Materials/Player/TrackBorderLeft.mat @@ -68,7 +68,7 @@ Material: - _Mode: 0 - _OcclusionStrength: 1 - _Parallax: 0.02 - - _Phase: 0.12737204 + - _Phase: 0 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 - _SrcBlend: 1 diff --git a/Assets/Materials/Player/TrackBorderRight.mat b/Assets/Materials/Player/TrackBorderRight.mat index 3627283..84d91f7 100644 --- a/Assets/Materials/Player/TrackBorderRight.mat +++ b/Assets/Materials/Player/TrackBorderRight.mat @@ -68,7 +68,7 @@ Material: - _Mode: 0 - _OcclusionStrength: 1 - _Parallax: 0.02 - - _Phase: 0.12737204 + - _Phase: 0 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 - _SrcBlend: 1 diff --git a/Assets/Materials/Player/TrackMain.mat b/Assets/Materials/Player/TrackMain.mat index 933c137..a940ab7 100644 --- a/Assets/Materials/Player/TrackMain.mat +++ b/Assets/Materials/Player/TrackMain.mat @@ -68,7 +68,7 @@ Material: - _Mode: 0 - _OcclusionStrength: 1 - _Parallax: 0.02 - - _Phase: 0.12737204 + - _Phase: 0 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 - _SrcBlend: 1 diff --git a/Assets/Misc/BuildTimestamp.txt b/Assets/Misc/BuildTimestamp.txt index 8c03e58..6b2ee25 100644 --- a/Assets/Misc/BuildTimestamp.txt +++ b/Assets/Misc/BuildTimestamp.txt @@ -1 +1 @@ -638237422224889231 \ No newline at end of file +638237564818773276 \ No newline at end of file diff --git a/Assets/Scripts/Compose/Editing/Operations/AdeClickToCreate.cs b/Assets/Scripts/Compose/Editing/Operations/AdeClickToCreate.cs index 7856c8e..62e30c4 100644 --- a/Assets/Scripts/Compose/Editing/Operations/AdeClickToCreate.cs +++ b/Assets/Scripts/Compose/Editing/Operations/AdeClickToCreate.cs @@ -248,7 +248,7 @@ private void AddNoteHandler() note = new ArcHold() { Timing = timing, Track = PositionToTrack(pos.x), EndTiming = timing, TimingGroup = timingGroup }; break; case ClickToCreateMode.Arc: - note = new ArcArc() { Timing = timing, EndTiming = timing, Color = currentArcColor, IsVoid = currentArcIsVoid, LineType = currentArcType, TimingGroup = timingGroup }; + note = new ArcArc() { Timing = timing, EndTiming = timing, Color = currentArcColor, Effect = "none", IsVoid = currentArcIsVoid, LineType = currentArcType, TimingGroup = timingGroup }; break; case ClickToCreateMode.ArcTap: note = new ArcArcTap() { Timing = timing }; diff --git a/Assets/Scripts/Gameplay/Chart/ArcChart.cs b/Assets/Scripts/Gameplay/Chart/ArcChart.cs index 13c6dd3..e886d91 100644 --- a/Assets/Scripts/Gameplay/Chart/ArcChart.cs +++ b/Assets/Scripts/Gameplay/Chart/ArcChart.cs @@ -1062,7 +1062,7 @@ public class ArcArc : ArcLongNote, IIntoRawItem, IHasTimingGroup, ISetableTiming public float YStart; public float YEnd; public int Color; - public string Effect; + public string Effect = "none"; public bool IsVoid; public List ArcTaps = new List(); diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 9104857..71e89cf 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -147,7 +147,7 @@ PlayerSettings: 16:10: 0 16:9: 1 Others: 0 - bundleVersion: 0.4.5 + bundleVersion: 0.4.6 preloadedAssets: - {fileID: 4800000, guid: bb26ede1beb997943a7d6295fbf075d4, type: 3} - {fileID: 4800000, guid: 1e340182228616b4ca7dad1e80f4d319, type: 3} @@ -162,6 +162,7 @@ PlayerSettings: - {fileID: 0} - {fileID: 0} - {fileID: 0} + - {fileID: 0} metroInputSource: 0 wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1