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(); }
public void OnEnable(CommonContext commonContext) { this.commonContext = commonContext; }