From 8a6bd45caaeb3e7596f46e99851479d5f574ae59 Mon Sep 17 00:00:00 2001 From: Ino Date: Fri, 7 Nov 2025 13:00:02 +0900 Subject: [PATCH] =?UTF-8?q?"=ED=8A=9C=ED=86=A0=EB=A6=AC=EC=96=BC=EB=A1=9C?= =?UTF-8?q?=20=EB=82=98=EC=98=A4=EB=8A=94=20=EA=B0=80=EC=9D=B4=EB=93=9C=20?= =?UTF-8?q?=EC=86=90=20=EB=8F=99=EC=9E=91=EC=9D=84=20=EC=BA=90=EB=A6=AD?= =?UTF-8?q?=ED=84=B0=20=EB=AA=B8=EC=97=90=EC=84=9C=20=EC=8B=9C=EC=9E=91?= =?UTF-8?q?=ED=95=98=EA=B2=8C=20=EB=B0=94=EA=BF=94=EC=A3=BC=EC=8B=9C?= =?UTF-8?q?=EA=B8=B0=20=EB=B0=94=EB=9E=8D=EB=8B=88=EB=8B=A4.=20=EB=A0=88?= =?UTF-8?q?=EB=94=94~=20=EA=B3=A0=20=ED=95=A0=20=EB=96=84=EA=B9=8C?= =?UTF-8?q?=EC=A7=80=EB=8A=94=20=EC=96=B4=EC=B0=A8=ED=94=BC=20=EC=A1=B0?= =?UTF-8?q?=EC=9E=91=20=EB=B6=88=EA=B0=80=EB=8B=88=EA=B9=8C=20=ED=95=AD?= =?UTF-8?q?=EC=83=81=20=EA=B0=80=EC=9D=B4=EB=93=9C=20=EC=95=A0=EB=8B=88?= =?UTF-8?q?=EB=A9=94=EC=9D=B4=EC=85=98=EC=9D=84=20=EB=B3=B4=EC=97=AC?= =?UTF-8?q?=EC=A4=98=EB=8F=84=20=EB=90=A0=20=EA=B2=83=20=EA=B0=99=EC=8A=B5?= =?UTF-8?q?=EB=8B=88=EB=8B=A4.=20(=EA=B2=8C=EC=9E=84=EC=9D=84=20=EC=9E=AC?= =?UTF-8?q?=EC=8B=9C=EC=9E=91=20=ED=95=A0=20=EB=95=8C=EB=A7=88=EB=8B=A4=20?= =?UTF-8?q?1=EB=B2=88=EB=A7=8C=20=EB=B3=B4=EC=9D=B4=EA=B2=8C=20=ED=95=B4?= =?UTF-8?q?=EB=8F=84=20=EB=90=A0=20=EA=B2=83=20=EA=B0=99=EC=8A=B5=EB=8B=88?= =?UTF-8?q?=EB=8B=A4.)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ResWork/Sound/{Ready.mp3 => s030_Ready.mp3} | Bin .../Sound/{Ready.mp3.meta => s030_Ready.mp3.meta} | 0 Assets/ResWork/Sound/{Go!.mp3 => s031_Go!.mp3} | Bin .../Sound/{Go!.mp3.meta => s031_Go!.mp3.meta} | 0 Assets/ResWork/UI_Animation/MiniGame_Guide.anim | 2 +- Assets/Scenes/SampleScene.unity | 4 +++- Assets/Scripts/AttachToGameObject/SoundInfo.cs | 1 + Assets/Scripts/Game/Game_Mini.cs | 9 +++------ 8 files changed, 8 insertions(+), 8 deletions(-) rename Assets/ResWork/Sound/{Ready.mp3 => s030_Ready.mp3} (100%) rename Assets/ResWork/Sound/{Ready.mp3.meta => s030_Ready.mp3.meta} (100%) rename Assets/ResWork/Sound/{Go!.mp3 => s031_Go!.mp3} (100%) rename Assets/ResWork/Sound/{Go!.mp3.meta => s031_Go!.mp3.meta} (100%) diff --git a/Assets/ResWork/Sound/Ready.mp3 b/Assets/ResWork/Sound/s030_Ready.mp3 similarity index 100% rename from Assets/ResWork/Sound/Ready.mp3 rename to Assets/ResWork/Sound/s030_Ready.mp3 diff --git a/Assets/ResWork/Sound/Ready.mp3.meta b/Assets/ResWork/Sound/s030_Ready.mp3.meta similarity index 100% rename from Assets/ResWork/Sound/Ready.mp3.meta rename to Assets/ResWork/Sound/s030_Ready.mp3.meta diff --git a/Assets/ResWork/Sound/Go!.mp3 b/Assets/ResWork/Sound/s031_Go!.mp3 similarity index 100% rename from Assets/ResWork/Sound/Go!.mp3 rename to Assets/ResWork/Sound/s031_Go!.mp3 diff --git a/Assets/ResWork/Sound/Go!.mp3.meta b/Assets/ResWork/Sound/s031_Go!.mp3.meta similarity index 100% rename from Assets/ResWork/Sound/Go!.mp3.meta rename to Assets/ResWork/Sound/s031_Go!.mp3.meta diff --git a/Assets/ResWork/UI_Animation/MiniGame_Guide.anim b/Assets/ResWork/UI_Animation/MiniGame_Guide.anim index 8f437b8..afa85e5 100644 --- a/Assets/ResWork/UI_Animation/MiniGame_Guide.anim +++ b/Assets/ResWork/UI_Animation/MiniGame_Guide.anim @@ -244,7 +244,7 @@ AnimationClip: flags: 0 m_PPtrCurves: [] m_SampleRate: 60 - m_WrapMode: 2 + m_WrapMode: 0 m_Bounds: m_Center: {x: 0, y: 0, z: 0} m_Extent: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 7d37ea4..03de4e9 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -19610,6 +19610,8 @@ MonoBehaviour: - {fileID: 8300000, guid: 8466b09bf42e936478ab0fd8711eea01, type: 3} - {fileID: 8300000, guid: 68c6fa9e461ecb443b256560ce0500a8, type: 3} - {fileID: 8300000, guid: e5d3771565247fb488eee9fc417aadc3, type: 3} + - {fileID: 8300000, guid: e0eb2da7439fc034ca5c8191f20d6dba, type: 3} + - {fileID: 8300000, guid: 259a0b95d0f01dc429937c074f67213b, type: 3} arr_bgm: - {fileID: 8300000, guid: f84b956bd038a0a469e34451d8edf1d4, type: 3} - {fileID: 8300000, guid: 91f78e0e508d80b4bbc02cf71c03b081, type: 3} @@ -83379,7 +83381,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: -368} + m_AnchoredPosition: {x: 134, y: -648} m_SizeDelta: {x: 413, y: 500} m_Pivot: {x: 0.5, y: 0.5} --- !u!111 &2088815943 diff --git a/Assets/Scripts/AttachToGameObject/SoundInfo.cs b/Assets/Scripts/AttachToGameObject/SoundInfo.cs index fdd898b..e68777c 100644 --- a/Assets/Scripts/AttachToGameObject/SoundInfo.cs +++ b/Assets/Scripts/AttachToGameObject/SoundInfo.cs @@ -8,6 +8,7 @@ public enum eSound { s012_Title, s013_GachaOpen, s014_GachaOpen, s015_LuckyCup, s016_LuckyCup, s017_LuckyGetItem, s018_LuckyGetItem, s019_LuckyGetItem, s020_Noraml_Hit, s021_Noraml_Hit, s022_Noraml_Hit, s023_Noraml_Hit, s024_Noraml_Hit, s025_Noraml_Hit, s026_Impact_Hit, s027_Impact_Hit, s028_Impact_Hit, s029_Impact_Hit, + s030_Ready, s031_Go, Max } public enum eBGM { b001_BGM, b002_MiniGame, b003_MiniGame, b004_MiniGame, b005_Gacha, b006_Album, b007_LuckyGame, b008_Title, Max } diff --git a/Assets/Scripts/Game/Game_Mini.cs b/Assets/Scripts/Game/Game_Mini.cs index fd26b27..a984dcd 100644 --- a/Assets/Scripts/Game/Game_Mini.cs +++ b/Assets/Scripts/Game/Game_Mini.cs @@ -123,6 +123,7 @@ public class Game_Mini : MonoBehaviour { gameObject.SetActive(true); SoundInfo.Ins.Play_BGM((eBGM)Random.Range(1, 4)); + go_Guide.SetActive(true); Init(); @@ -169,15 +170,11 @@ public class Game_Mini : MonoBehaviour IEnumerator Co_Update() { - if (PlayerPrefs.GetInt("ShowMiniGameGuide", 0) == 0) - { - PlayerPrefs.SetInt("ShowMiniGameGuide", 1); - go_Guide.SetActive(true); - } - DSUtil.InActivateGameObjects(gos_readygo, 0); bStartGame = false; + SoundInfo.Ins.Play_OneShot(eSound.s030_Ready); yield return new WaitForSeconds(3f); + SoundInfo.Ins.Play_OneShot(eSound.s031_Go); DSUtil.InActivateGameObjects(gos_readygo, 1); bStartGame = true; go_Guide.SetActive(false);