diff --git a/Assets/Script/PanelButton.cs b/Assets/Script/PanelButton.cs index c04d5e8..b3303ae 100644 --- a/Assets/Script/PanelButton.cs +++ b/Assets/Script/PanelButton.cs @@ -34,8 +34,6 @@ public class PanelButton : MonoBehaviour audioSrc.playOnAwake = false; audioSrc.clip = btnSound; - Debug.Log(cr.material.color); - if (isToggle) { // initialize toggle state @@ -96,19 +94,4 @@ public class PanelButton : MonoBehaviour if (!isToggle) cr.material.color = Color.gray; } - - // Update is called once per frame - void Update() - { - if (Input.GetKeyDown(KeyCode.Home)) - { - camera?.SetActive(true); - } - - if (Input.GetKeyDown(KeyCode.End)) - { - camera?.SetActive(false); - } - - } }