1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Makes Mono bindings partial & adds GetNode<T>.

This commit is contained in:
Pieter-Jan Briers
2018-07-20 08:27:47 +02:00
parent 76bfe14e00
commit a8c97eb094
3 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
namespace Godot
{
public partial class Node
{
public T GetNode<T>(NodePath path) where T : Godot.Node
{
return (T)GetNode(path);
}
}
}