diff --git a/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scenes/Ice.unity b/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scenes/Ice.unity index b327abd..8659cad 100644 --- a/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scenes/Ice.unity +++ b/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scenes/Ice.unity @@ -467,11 +467,11 @@ GameObject: - component: {fileID: 590248848} - component: {fileID: 590248847} - component: {fileID: 590248850} - - component: {fileID: 590248851} - component: {fileID: 590248852} - component: {fileID: 590248853} - component: {fileID: 590248854} - component: {fileID: 590248855} + - component: {fileID: 590248851} m_Layer: 8 m_Name: 01FrostCamera m_TagString: MainCamera @@ -620,10 +620,10 @@ MonoBehaviour: m_GameObject: {fileID: 590248846} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 45099d624c1e6c14e9514f4e5ea1ed9c, type: 3} + m_Script: {fileID: 11500000, guid: b5cf9d5827877014ba6331a64e1b4fe2, type: 3} m_Name: m_EditorClassIdentifier: - _clearAlpha: 1 + vignette_intensity: 0.3 --- !u!82 &590248852 AudioSource: m_ObjectHideFlags: 0 @@ -631,10 +631,10 @@ AudioSource: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 590248846} - m_Enabled: 0 + m_Enabled: 1 serializedVersion: 4 OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: a4262e40263883544a1d847d5a920591, type: 3} m_PlayOnAwake: 0 m_Volume: 1 m_Pitch: 1 diff --git a/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scripts/DebugUI.cs b/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scripts/DebugUI.cs index 813ccbd..9b52502 100644 --- a/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scripts/DebugUI.cs +++ b/01_ForstCoronation/Unity-19050-01_ForstCoronation/19050-01_ForstCoronation/Assets/Scripts/DebugUI.cs @@ -137,7 +137,7 @@ public class DebugUI : MonoBehaviour lerp_val = 1; stat = "completed"; StartCoroutine("sendCompleted"); - Invoke("setButtonInteractable", delay_sec); + Invoke("switchButtonStat", delay_sec); button.GetComponent().text = stat; Debug.Log(stat); } @@ -149,7 +149,7 @@ public class DebugUI : MonoBehaviour { lerp_val = 0; stat = "wait"; - Invoke("setButtonInteractable", delay_sec); + Invoke("switchButtonStat", delay_sec); button.GetComponent().text = stat; Debug.Log(stat); } @@ -186,8 +186,8 @@ public class DebugUI : MonoBehaviour public void enterGrow() { - - setButtonInteractable(); + switchButtonStat(); + Camera.main.GetComponent().Play(); stat = "growing"; vfx.SendEvent("Emit"); vfx.SetBool("isGrowing", true); @@ -197,7 +197,7 @@ public class DebugUI : MonoBehaviour public void enterVanish() { - setButtonInteractable(); + switchButtonStat(); stat = "vanishing"; vfx.SetBool("isGrowing", false); button.GetComponent().text = stat; @@ -211,7 +211,7 @@ public class DebugUI : MonoBehaviour emitter.GetComponent().enabled = isShowed; } - private void setButtonInteractable() + private void switchButtonStat() { bool _stat = button.GetComponentInParent