public void OnClickChangePlayMode() { if (PlayerManager.Instance().PlayMode == PLAY_MODE.NORMAL) { PlayerManager.Instance().PlayMode = PLAY_MODE.TRUE; GameConfigs.SetLastPlayMode(PLAY_MODE.TRUE); Show_NormalObject.SetActive(false); Show_Ending1Object.SetActive(true); SoundManager.PlayLoopingMusic(SoundContainer.Instance().BackGroundMusicsDic["BGM_Ending"], 1.0f, 1.0f, true); } else { PlayerManager.Instance().PlayMode = PLAY_MODE.NORMAL; GameConfigs.SetLastPlayMode(PLAY_MODE.NORMAL); Show_NormalObject.SetActive(true); Show_Ending1Object.SetActive(false); SoundManager.PlayLoopingMusic(SoundContainer.Instance().BackGroundMusicsDic["Opening"], 1.0f, 1.0f, true); } SetChangeModeText(PlayerManager.Instance().PlayMode); ChangeModeCameraTween.Begin(); ChangeModeCameraTween.vector3Results = ChangeModeCameraTween.startingVector; SoundManager.PlayOneShotSound(SoundContainer.Instance().SoundEffectsDic[GameStatics.sound_explosion1], SoundContainer.Instance().SoundEffectsDic[GameStatics.sound_explosion1].clip); }