Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 16f6094

Browse files
committed
Added a temporary icon to the profile asset
1 parent 1aa1bb0 commit 16f6094

3 files changed

Lines changed: 85 additions & 1 deletion

File tree

17.4 KB
Loading

PostProcessing/Editor Resources/UI/Icon.png.meta

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PostProcessing/Editor/PostProcessingFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class PostProcessingFactory
1010
[MenuItem("Assets/Create/Post-Processing Profile", priority = 201)]
1111
static void MenuCreatePostProcessingProfile()
1212
{
13-
var icon = (Texture2D)null; // TODO: Post-processing profile texture
13+
var icon = EditorResources.Load<Texture2D>("UI/Icon.png");
1414
ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, ScriptableObject.CreateInstance<DoCreatePostProcessingProfile>(), "New Post-Processing Profile.asset", icon, null);
1515
}
1616

0 commit comments

Comments
 (0)