ba441c48b0
(cherry picked from commit a8c97eb094
)
11 lines
183 B
C#
11 lines
183 B
C#
namespace Godot
|
|
{
|
|
public partial class Node
|
|
{
|
|
public T GetNode<T>(NodePath path) where T : Godot.Node
|
|
{
|
|
return (T)GetNode(path);
|
|
}
|
|
}
|
|
}
|