Skip to content

Commit 3fb5c78

Browse files
feat: update sample icon for IMGUISampleSceneUrl
1 parent a7bc0d4 commit 3fb5c78

File tree

5 files changed

+234
-1
lines changed

5 files changed

+234
-1
lines changed
599 Bytes
Loading

com.stansassets.plugins-dev-kit/Editor/Art/Icons/Generic/sample_dark.png.meta

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

com.stansassets.plugins-dev-kit/Editor/Art/Icons/Generic/sample_light.png.meta

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

com.stansassets.plugins-dev-kit/Editor/IMGUI/Controls/IMGUISampleSceneUrl.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using UnityEditor;
23
using UnityEditor.SceneManagement;
34
using UnityEngine;
45

@@ -13,7 +14,7 @@ public class IMGUISampleSceneUrl : IMGUIHyperLabel
1314
public IMGUISampleSceneUrl(string title, string scenePath)
1415
: base(new GUIContent(
1516
title,
16-
PluginsEditorSkin.GetGenericIcon("list_arrow_white.png") //TODO unity scene Icon
17+
PluginsEditorSkin.GetGenericIcon((EditorGUIUtility.isProSkin)? "sample_dark.png" : "sample_light.png")
1718
),
1819
SettingsWindowStyles.DescriptionLabelStyle)
1920
{

0 commit comments

Comments
 (0)