private void HandleOnJob2Finish()
        {
            if (this.m_job2 == null)
            {
                return;
            }
            List <GameObject>         missingComponents = this.m_job2.GetMissingComponents();
            List <SerializedProperty> missingProperties = this.m_job2.GetMissingProperties();
            List <SearchResult>       list = new List <SearchResult>();

            foreach (GameObject current in missingComponents)
            {
                list.Add(new SearchResult
                {
                    iid  = current.GetInstanceID(),
                    path = TnTransformUtil.GetHierarchyFullPath(current)
                });
            }
            foreach (SerializedProperty current2 in missingProperties)
            {
                SearchResult item = SearchResult.Create(current2);
                list.Add(item);
            }
            this.m_tabMgr.ShowTab(SearchResultTabType.ResultsInGameObject, list);
            this.DisplaySearchFinishedDialog(list.Count);
            EditorUtility.ClearProgressBar();
            base.Repaint();
            this.m_job2 = null;
        }
        private void UpdateSearchProgress(SearchMissingInGameObjectListJob job)
        {
            if (job == null)
            {
                return;
            }
            int num  = job.TaskCount();
            int num2 = job.CurrentIndex();
            SearchMissingInGameObjectTask searchMissingInGameObjectTask = job.Current() as SearchMissingInGameObjectTask;
            GameObject go   = searchMissingInGameObjectTask.Go;
            bool       flag = EditorUtility.DisplayCancelableProgressBar("Searching", "Search in: " + go.name, (float)(num2 + 1) / (float)num);

            if (flag)
            {
                job.SetFinished();
            }
        }
 private void CreateJob2()
 {
     this.m_job2 = new SearchMissingInGameObjectListJob(this.m_gameObjectList);
     this.m_job2.Init();
 }