浏览代码

Added icon to Callable Tree Explorer

/main
Thomas ICHÉ 5 年前
当前提交
20632d2e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Editor/CallTree/CallTreeWindow.cs

4
Editor/CallTree/CallTreeWindow.cs


{
nodeRoots = new Dictionary<string, List<CallTreeNode>>();
m_TreeView = new CallTreeView(nodeRoots);
titleContent = new GUIContent("Callable Tree Explorer");
titleContent = new GUIContent("Callable Tree Explorer", CallTreeView.Styles.Callable);
ReloadCallHierarchy();
EditorSceneManager.sceneOpened += Reload;
EditorSceneSetup.onSetupLoaded += ReloadSetup;

Selection.activeObject = m_Bindings[selectedIds[0]].Target;
}
static class Styles
public static class Styles
{
public static Texture2D Callable = Icon("Misc/ic-callable.png");
public static Texture2D Action = Icon("Actions/ic-action-generic.png");

正在加载...
取消
保存