mirror of
https://github.com/ppy/osu.git
synced 2025-02-08 06:22:55 +08:00
15 lines
376 B
C#
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);
|
|
}
|
|
}
|
|
} |