Esempio n. 1
0
        public void OnEnable(CommonContext commonContext)
        {
            //Debug.Log("SelectionManager OnEnable()");

            this.commonContext          = commonContext;
            Selection.selectionChanged += OnEditorSelectionChanged;
        }
        void OnEnable()
        {
            //Debug.Log("SidekickInspectorWindow OnEnable()");
            UpdateTitleContent();

            searchField2 = new SearchField();

            if (commonContext == null)
            {
                commonContext = new CommonContext();
            }

            commonContext.OnEnable();
            commonContext.SelectionManager.SelectionChanged += OnSelectionChanged;
            commonContext.APIManager.ResponseReceived       += OnResponseReceived;

            EnableRemoteMode();
        }
Esempio n. 3
0
 public void OnEnable(CommonContext commonContext)
 {
     this.commonContext = commonContext;
 }