You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
573 B
C#
18 lines
573 B
C#
1 year ago
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityEditor.TestTools.CodeCoverage
|
||
|
{
|
||
|
internal static class EditorIcons
|
||
|
{
|
||
|
public static Texture2D FolderOpened { get; private set; }
|
||
|
public static Texture2D CoverageWindow { get; private set; }
|
||
|
|
||
|
static EditorIcons()
|
||
|
{
|
||
|
FolderOpened = GetTexture("FolderOpened.png");
|
||
|
CoverageWindow = GetTexture("CodeCoverage.png");
|
||
|
}
|
||
|
|
||
|
static Texture2D GetTexture(string path) => EditorGUIUtility.FindTexture("Packages/com.unity.testtools.codecoverage/Editor/Icons/" + path);
|
||
|
}
|
||
|
}
|