added float axis support and gameplay scene
This commit is contained in:
1 parent
12ec4f72f5
commit
158850aa45
8 files changed
+1519
-9
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user