浏览代码

Added support for SceneAsset and EditorSceneSetup in Discover

/main
Thomas ICHÉ 5 年前
当前提交
2520288f
共有 2 个文件被更改,包括 17 次插入0 次删除
  1. 1
      CHANGELOG.md
  2. 16
      Editor/Discover/DiscoverEditor.cs

1
CHANGELOG.md


* Preferences for Advanced Hierarchy View
* Added API to AdvancedHierarchyView to add other Icons from component types
* Help Menu links (github, documentation, openUPM)
* Added support for SceneAsset and EditorSceneSetup in Discover
#### Changed

16
Editor/Discover/DiscoverEditor.cs


AssetDatabase.OpenAsset(shader);
}
}
else if (t == typeof(SceneAsset))
{
if (GUILayout.Button("Open Scene"))
{
SceneAsset scene = target as SceneAsset;
AssetDatabase.OpenAsset(scene);
}
}
else if (t == typeof(EditorSceneSetup))
{
if (GUILayout.Button("Open Scenes"))
{
EditorSceneSetup scene = target as EditorSceneSetup;
AssetDatabase.OpenAsset(scene);
}
}
else
{
if (GUILayout.Button("Select"))

正在加载...
取消
保存