added main menu

This commit is contained in:
MrTorex committed 2026-01-30 17:55:55 +03:00
1 parent b94c6e87c9
commit 12ec4f72f5
686 files changed
+128307 -817

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
using Code.Input;
using UnityEngine;
using UnityEngine.InputSystem;
namespace Code.DI
{
public class Bootstrapper : MonoBehaviour
{
[SerializeField] private InputActionAsset inputActionAsset;
private void Awake()
{
var container = new GameObject("DIContainer").AddComponent<DIContainer>();
container.Register<IInputService>(new InputService(inputActionAsset));
}
}
}