From d11b37eb8194144813b595db3823f9db71fa681a Mon Sep 17 00:00:00 2001 From: Noisysundae Date: Wed, 25 May 2022 20:25:54 +0700 Subject: [PATCH] Editor: Fix Post-Optimization Note Drag Bug --- README.md | 4 ++-- .../Assets/Scripts/Components/Editor Scene/PatternPanel.cs | 2 +- TECHMANIA/ProjectSettings/ProjectSettings.asset | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2dab03d6..b7d73c03 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Refer to the [Releases](https://github.com/Noisysundae/techmania-ns/releases) se ### Latest Versions -* **Windows:** [v1.0.2-ns (2022-05-08)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220508) -* **Android:** [v1.0.2-ns (2022-05-08)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220508) +* **Windows:** [v1.0.2-ns (2022-05-25)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220525) +* **Android:** [v1.0.2-ns (2022-05-25)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220525) * **iOS:** [v1.0.2-ns (2022-04-03)](https://github.com/Noisysundae/techmania-ns/releases/tag/1.0.2-ns_20220403) ## Changes diff --git a/TECHMANIA/Assets/Scripts/Components/Editor Scene/PatternPanel.cs b/TECHMANIA/Assets/Scripts/Components/Editor Scene/PatternPanel.cs index a3295488..d1f4c30d 100644 --- a/TECHMANIA/Assets/Scripts/Components/Editor Scene/PatternPanel.cs +++ b/TECHMANIA/Assets/Scripts/Components/Editor Scene/PatternPanel.cs @@ -109,6 +109,7 @@ private struct NoteReference { private NoteReference InsertNoteReference (GameObject o) { NoteReference noteRef = new NoteReference(); + noteRef.transform = o.GetComponent(); noteRef.noteObject = o.GetComponent(); noteRef.noteInEditor = o.GetComponent(); noteRef.positioner = o.GetComponent(); @@ -3261,7 +3262,6 @@ private void DeleteNote(Note n) private void DeleteNoteObject(Note n, GameObject o, bool intendToDeleteNote) { - Debug.Log("t"); if (intendToDeleteNote) { AdjustPathBeforeDeleting(o); diff --git a/TECHMANIA/ProjectSettings/ProjectSettings.asset b/TECHMANIA/ProjectSettings/ProjectSettings.asset index 0ad47b2a..0a0be257 100644 --- a/TECHMANIA/ProjectSettings/ProjectSettings.asset +++ b/TECHMANIA/ProjectSettings/ProjectSettings.asset @@ -134,7 +134,7 @@ PlayerSettings: 16:10: 1 16:9: 1 Others: 1 - bundleVersion: 1.0.2-ns-20220508 + bundleVersion: 1.0.2-ns-20220525 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0