Exemple #1
0
        // Token: 0x0600BF9A RID: 49050 RVA: 0x00357244 File Offset: 0x00355444
        protected override void OnStop()
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnStop_hotfix != null)
            {
                this.m_OnStop_hotfix.call(new object[]
                {
                    this
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            base.OnStop();
            InviteNotifyUITask.EnableDispaly();
            NoticeUIController.IsForceHide = false;
            UnityARSessionNativeInterface          arsessionNativeInterface = UnityARSessionNativeInterface.GetARSessionNativeInterface();
            ARKitWorldTrackingSessionConfiguration config = default(ARKitWorldTrackingSessionConfiguration);

            config.planeDetection        = UnityARPlaneDetection.Horizontal;
            config.alignment             = UnityARAlignment.UnityARAlignmentGravity;
            config.getPointCloudData     = false;
            config.enableLightEstimation = false;
            if (config.IsSupported)
            {
                arsessionNativeInterface.RunWithConfig(config);
            }
            arsessionNativeInterface.Pause();
        }
 // Token: 0x0600D090 RID: 53392 RVA: 0x00392150 File Offset: 0x00390350
 public static void EnableDispaly()
 {
     InviteNotifyUITask.m_isDisableDisplay--;
     if (InviteNotifyUITask.m_isDisableDisplay == 0)
     {
         InviteNotifyUITask.CheckPendingInviteInfo();
     }
 }
        // Token: 0x0600D08E RID: 53390 RVA: 0x003920E8 File Offset: 0x003902E8
        public static void CheckPendingInviteInfo()
        {
            ProjectLPlayerContext    projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;
            List <GeneralInviteInfo> list = new List <GeneralInviteInfo>();

            projectLPlayerContext.UpdateGeneralInviteInfos(list);
            if (list.Count > 0)
            {
                if (!UIUtility.IsUITaskRunning(typeof(InviteNotifyUITask)))
                {
                    InviteNotifyUITask.StartUITask();
                }
            }
        }
Exemple #4
0
 // Token: 0x0600BF97 RID: 49047 RVA: 0x003570C4 File Offset: 0x003552C4
 protected override bool OnStart(UIIntent intent)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnStartUIIntent_hotfix != null)
     {
         return(Convert.ToBoolean(this.m_OnStartUIIntent_hotfix.call(new object[]
         {
             this,
             intent
         })));
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     NoticeUIController.IsForceHide = true;
     InviteNotifyUITask.DisableDisplay();
     return(base.OnStart(intent));
 }
 // Token: 0x0600D0C0 RID: 53440 RVA: 0x003932D8 File Offset: 0x003914D8
 public LuaExportHelper(InviteNotifyUITask owner)
 {
     this.m_owner = owner;
 }
 // Token: 0x0600D08F RID: 53391 RVA: 0x0039213C File Offset: 0x0039033C
 public static void DisableDisplay()
 {
     InviteNotifyUITask.m_isDisableDisplay++;
     InviteNotifyUITask.StopUITask();
 }