12 lines
194 B
C#
12 lines
194 B
C#
using Godot;
|
|
|
|
namespace yourareanaiceo;
|
|
|
|
public static class NodeExtensions
|
|
{
|
|
public static Game GetGame(this Node node)
|
|
{
|
|
return node.GetTree().CurrentScene as Game;
|
|
}
|
|
}
|