private void OnGUI() { DrawOptionBar(); UpdateAssetTree(); //绘制Treeview if (m_AssetTreeView != null) { m_AssetTreeView.OnGUI(new Rect(0, toolbarGUIStyle.fixedHeight, position.width, position.height - toolbarGUIStyle.fixedHeight)); } }
private void OnGUI() { InitGUIStyleIfNeeded(); DrawOptionBar(); UpdateAssetTree(); if (_assetTreeView != null) { //绘制Treeview _assetTreeView.OnGUI(new Rect(0, _toolbarGUIStyle.fixedHeight, position.width, position.height - _toolbarGUIStyle.fixedHeight)); } }