コード例 #1
0
 private void Awake()
 {
     s_instance = this;
     this.CreateHitTestPriorityMap();
     this.m_FullscreenEffectsCamera = CameraUtils.FindFullScreenEffectsCamera(true);
     if (this.m_FullscreenEffectsCamera != null)
     {
         this.m_FullscreenEffectsCameraActive = true;
     }
 }
コード例 #2
0
 private void DisableOtherModeStuff()
 {
     if (SceneMgr.Get().GetPrevMode() != SceneMgr.Mode.GAMEPLAY)
     {
         Camera camera = CameraUtils.FindFullScreenEffectsCamera(true);
         if (camera != null)
         {
             camera.GetComponent <FullScreenEffects>().Disable();
         }
     }
 }