Exemplo n.º 1
0
 private void CheckOverlayTransition()
 {
     if (m_finishFade && m_finishIndoorSceneLoad)
     {
         m_conversation.gameObject.SetActive(true);
         m_indoorModel.gameObject.SetActive(true);
         FXMainCamera.Instance.SwitchCamera(m_indoorModel.SceneCamera.gameObject);
         AudioManager.Instance.RequestPlayAudioID(m_indoorModel.EnterAudioID, 0, -1f, m_indoorModel.SceneCamera.transform, 1f, 0f, 0f, null);
         IngameController.Instance.Overlay.FadeFrontTo(0f);
         if (!m_popupActive && LegacyLogic.Instance.ConversationManager.IsForEntrance && LegacyLogic.Instance.ConversationManager.NPCs.Count == 0)
         {
             m_popupActive = true;
             m_conversation.ShowPopup();
         }
     }
 }