コード例 #1
0
        private void OnEnable()
        {
            searchField = new EditorSearchField();

            objects.Clear();
            objects.AddRange(Selection.objects);
        }
コード例 #2
0
        private void OnEnable()
        {
            //isOpen = true;
            //_scrollPosition = Vector2.zero;
            //Selection.selectionChanged += TrackSelectionChange;

            //↑ all old
            searchField = new EditorSearchField();
            GenerateGUIContents();
            //Selection.selectionChanged +=

            Debug.Log("enable");
        }