1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-08 06:22:55 +08:00
osu-lazer/osu.Game.Tests/Resources/Resource.cs
2016-10-10 09:19:05 -04:00

15 lines
376 B
C#

using System;
using System.IO;
using System.Reflection;
namespace osu.Game.Tests.Resources
{
public static class Resource
{
public static string GetPath(string path)
{
var assemblyDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
return Path.Combine(assemblyDir, "Resources", path);
}
}
}