reorganize

This commit is contained in:
2022-05-02 20:34:42 +03:00
parent 654e641464
commit 3f1230fdf9
34 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System.Collections.Generic;
using FlaxEngine;
using Cabrito;
namespace Game
{
public static class InputManager
{
public static bool GetAction(string name)
{
if (Console.IsOpen)
return false;
return Input.GetAction(name);
}
public static float GetAxis(string name)
{
if (Console.IsOpen)
return 0.0f;
return Input.GetAxis(name);
}
public static float GetAxisRaw(string name)
{
if (Console.IsOpen)
return 0.0f;
return Input.GetAxisRaw(name);
}
}
}