protected override void OnFocus() { _inputManager = new InputManager(RESOURCE_PATH); _listViewItemRenderer = new SwitchListViewItemRenderer(_gleSwitches, _switches, _inputManager); _needsAssetRefresh = true; base.OnFocus(); }
protected override void OnEnable() { titleContent = new GUIContent("Switch Manager", Icons.Switch(false, size: IconSize.Small)); RowHeight = 22; _inputManager = new InputManager(RESOURCE_PATH); AssetDatabase.Refresh(); _listViewItemRenderer = new SwitchListViewItemRenderer(_ids, _switchables, _inputManager); base.OnEnable(); }
private void OnFocus() { _inputManager = new InputManager(InputManager.ASSETS_RESOURCES_PATH); _listViewItemRenderer = new SwitchListViewItemRenderer(_gleSwitches, TableComponent, _inputManager); _needsAssetRefresh = true; }