added float axis support and gameplay scene

This commit is contained in:
MrTorex committed 2026-01-30 18:25:35 +03:00
1 parent 12ec4f72f5
commit 158850aa45
8 files changed
+1519 -9

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
using Code.DI;
using Code.Input;
using UnityEngine;
namespace Code.UI
{
public class GameplayController : MonoBehaviour
{
private IInputService _inputService;
public void Start()
{
_inputService = FindFirstObjectByType<DIContainer>().Resolve<IInputService>();
_inputService.EnableMap(ActionMapping.Gameplay);
}
public void Update()
{
Debug.Log(_inputService.MoveInput);
}
}
}