feat: aetherbind, first source generator

This commit is contained in:
redglow
2026-07-18 17:05:03 +02:00
parent 4ce99d9486
commit aae9c083d9
69 changed files with 210 additions and 156 deletions
+17
View File
@@ -0,0 +1,17 @@
using Godot;
using GodotHostTest.AetherBind;
using OwofGames.AetherBind;
namespace GodotHostTest.Game.Turret;
[Injected]
public partial class Turret : Sprite2D
{
[Export] private PackedScene _projectilePackedScene = null!;
[Inject] private ISceneInstantiator _sceneInstantiator = null!;
public override void _Ready()
{
GetTree().CreateTimer(1).Timeout += () => AddChild(_sceneInstantiator.Instantiate(_projectilePackedScene));
}
}
+1
View File
@@ -0,0 +1 @@
uid://ce7gnp1lcrrdv