Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HDRP] Improve custom pass name UI #6859

Merged
merged 4 commits into from
Feb 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Better names for the custom pass add list
  • Loading branch information
alelievr committed Jan 26, 2022
commit 41d1393c852a412da9401d05e6af73d461a44ed2
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public List<SearchTreeEntry> CreateSearchTree(SearchWindowContext context)
if (customPassType.GetCustomAttribute<HideInInspector>() != null)
continue;

tree.Add(new SearchTreeEntry(new GUIContent(customPassType.Name, icon))
tree.Add(new SearchTreeEntry(new GUIContent(ObjectNames.NicifyVariableName(customPassType.Name), icon))
{
level = 1,
userData = customPassType
Expand Down