1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Makes Mono bindings partial & adds GetNode<T>.

(cherry picked from commit a8c97eb094)
This commit is contained in:
Pieter-Jan Briers
2018-07-20 08:27:47 +02:00
committed by Hein-Pieter van Braam
parent e5aedf130f
commit ba441c48b0
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);
}
}
}