feat: some application of source code generator

This commit is contained in:
redglow
2026-07-19 19:18:01 +02:00
parent aae9c083d9
commit 036e4af431
6 changed files with 14 additions and 34 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ namespace GodotHostTest.AetherBind;
internal class SceneInstantiator(IProvider provider) : ISceneInstantiator
{
/// <inheritdoc />
public Node Instantiate(PackedScene packedScene, Delegate? onScopeCreated = null)
public Node Instantiate(PackedScene packedScene, Action<IProvider>? onScopeCreated = null)
{
var node = packedScene.Instantiate();
var scope = node.GetChildren().OfType<ServiceSource>().SingleOrDefault();