IUnityInput.cs 278 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 using UnityEngine; public interface IUnityInputService { bool GetButtonDown(string buttonName); } public class UnityInputService : IUnityInputService { public bool GetButtonDown(string buttonName) { return Input.GetButtonDown(buttonName); } }