using Godot; namespace GodotHostTest.GodotDI; public interface ISceneInstantiator { /// /// Instantiate a packed scene, just like , but also looks for a scope between the top level children and triggers the dependency injection mechanism when found. /// /// The packed scene to instantiate. /// The created node, with its dependencies satisfied. Node Instantiate(PackedScene packedScene); /// /// Instantiate a packed scene, just like , but also looks for a scope between the top level children and triggers the dependency injection mechanism when found. /// /// The packed scene to instantiate. /// The created node, with its dependencies satisfied. T Instantiate(PackedScene packedScene) where T : Node; }