using System.Collections; using System.Collections.Generic; using Godot; namespace Rokojori { public class Unique where N:Node { private static N _singleton; public static N Get() { if ( _singleton != null ) { return _singleton; } _singleton = Nodes.GetAnyChild( Root.Window() ); return _singleton; } } }