File size: 573 Bytes
18a519f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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);
}
} |