diff options
Diffstat (limited to 'modules/mono/glue/cs_files/NodeExtensions.cs')
-rw-r--r-- | modules/mono/glue/cs_files/NodeExtensions.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/mono/glue/cs_files/NodeExtensions.cs b/modules/mono/glue/cs_files/NodeExtensions.cs new file mode 100644 index 0000000000..a099b0e400 --- /dev/null +++ b/modules/mono/glue/cs_files/NodeExtensions.cs @@ -0,0 +1,10 @@ +namespace Godot +{ + public partial class Node + { + public T GetNode<T>(NodePath path) where T : Godot.Node + { + return (T)GetNode(path); + } + } +} |