2018-07-30 11:35:48 +00:00
|
|
|
namespace Godot
|
|
|
|
{
|
|
|
|
public static partial class ResourceLoader
|
|
|
|
{
|
2018-10-05 17:39:11 +00:00
|
|
|
public static T Load<T>(string path) where T : class
|
2018-07-30 11:35:48 +00:00
|
|
|
{
|
2018-10-05 17:39:11 +00:00
|
|
|
return (T)(object)Load(path);
|
2018-07-30 11:35:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|