SupaLidlGame/Extensions/Resource.cs

13 lines
244 B
C#
Raw Permalink Normal View History

2023-03-26 21:11:38 -07:00
using Godot;
namespace SupaLidlGame.Extensions
{
public static class ResourceExtensions
{
public static string GetFileName(this Resource resource)
{
return resource.ResourcePath.GetFile();
}
}
}