コード例 #1
0
        public static TnEditorGameObjectList CreateGameObjectList()
        {
            TnEditorGameObjectList tnEditorGameObjectList = new TnEditorGameObjectList();

            tnEditorGameObjectList.Init(new Action <TnEditorGameObjectList.ErrorType, GameObject>(FindProFactory.GameObjectErrorHandler));
            tnEditorGameObjectList.BUTTON_SPACE_WIDTH = 4;
            tnEditorGameObjectList.SCROLL_VIEW_HEIGHT = 66;
            return(tnEditorGameObjectList);
        }
コード例 #2
0
        private void OnEnable()
        {
            this.m_tabMgr = FindProFactory.CreateTabMgr();
            SearchResultTab tab = this.m_tabMgr.GetTab(SearchResultTabType.ResultsInFolder);

            tab.Drawer.SetDetailsButton(new Action <SearchResultDrawer, List <GameObject> >(this.ClickDetailsButton));
            this.m_btnShowHide    = FindProFactory.CreateShowHideButton();
            this.m_folderList     = FindProFactory.CreateFolderList();
            this.m_gameObjectList = FindProFactory.CreateGameObjectList();
            this.StartListenTaskEvents();
        }
コード例 #3
0
 public SearchMissingInGameObjectListJob(TnEditorGameObjectList gameObjectList)
 {
     this.m_gameObjectList    = gameObjectList;
     this.m_missingComponents = new List <GameObject>();
     this.m_missingProperties = new List <SerializedProperty>();
 }
コード例 #4
0
 public SearchObjectInGameObjectListJob(TnEditorGameObjectList gameObjectList)
 {
     this.m_gameObjectList = gameObjectList;
     this.m_properties     = new List <SerializedProperty>();
     this.m_prefabInsts    = new List <GameObject>();
 }