|
@@ -64,6 +64,11 @@ namespace Godot
|
|
|
return ResourceLoader.Load(path);
|
|
|
}
|
|
|
|
|
|
+ public static T Load<T>(string path) where T : Godot.Resource
|
|
|
+ {
|
|
|
+ return (T) ResourceLoader.Load(path);
|
|
|
+ }
|
|
|
+
|
|
|
public static void Print(params object[] what)
|
|
|
{
|
|
|
NativeCalls.godot_icall_Godot_print(what);
|