9F3D4C02-FAB3-4F23-B478-741C01816893
using UnityEngine;
using Zenject;
public class GameRunner : ITickable
{
[Inject] private Ship.Factory ship_factory;
private Vector3 last_ship_position;
public void Tick()
{
if (!Input.GetKeyDown(KeyCode.Space)) return;
var ship = this.ship_factory.Create();
this.last_ship_position += Vector3.forward * 2;
ship.transform.position = this.last_ship_position;
}
}