public void GameOver_prop() { BackGroundPic.SetActive(true); JoyStickPanel_Left.SetActive(false); DragButton.SetActive(false); GameOver_Menu.SetActive(true); Destroy(Main_Camera.GetComponent <CameraFollow>()); }
IEnumerator MissionShow() { Main_Camera.SetActive(false); UI_Camera.AddComponent <AudioListener>(); UIAudioSrc.Play(); yield return(new WaitForSeconds(UIAudioSrc.clip.length)); Debug.LogWarning("10012_C02_wav.aax播放完毕,进入关卡"); BackGroundPic.SetActive(false); ULabel.SetActive(false); Main_Camera.SetActive(true); Spotlight.SetActive(false); Scene_BGM.Play(); JoyStickPanel_Left.SetActive(true); DragButton.SetActive(true); playerManager.loadJoyStick(); }