feat: some application of source code generator
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user