cultivation/Assets/Scripts/Common/TestGameLauncher.cs
2025-10-26 23:46:28 +03:00

24 lines
529 B
C#

using Player.Services;
using UnityEngine;
using VContainer;
namespace Common
{
public class TestGameLauncher : GameLauncher
{
protected override string ResolveLifetimeScopePrefab()
{
return "TestScope";
}
protected override void CreateResourcesList()
{
}
protected override void Launch()
{
var spawner = lifetimeScope.Container.Resolve<PlayerSpawnerService>();
spawner.Spawn(Vector3.zero);
}
}
}