Other

项目介绍

daemon3000/InputManager 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 Other 许可证,目前获得 593 个 Star、83 次 Fork。

仓库全名
daemon3000/InputManager
开源许可证
Other
Star 数
593
Fork 数
83
未关闭 Issue
4

README 摘要

Introduction InputManager is a custom input manager for Unity that allows you to rebind keys at runtime and abstract input devices for cross platform input. Features Very simple to implement. It has the same public methods and variables as Unity's Input class. Allows you to customize key bindings at runtime. Allows you to use XInput for better controller support. Allows you to convert touch input to axes and buttons…

完整内容见 GitHub 原始 README 或本页 。

常见问题

InputManager 用什么语言开发?

主要使用 C# 编写,采用 Other 许可证,目前有 593 个 Star。

InputManager 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 InputManager 的源码?

可以直接克隆仓库:git clone https://github.com/daemon3000/InputManager.git,默认分支为 master;安装与运行步骤见仓库 README。

InputManager 最近还在维护吗?

仓库最近一次更新为 2021年7月26日,当前有 4 个未关闭 Issue;Star 数为 593,可作为社区活跃度的参考。

关于

Custom InputManager for Unity

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
803
价值分
384
活跃状态
活跃

语言占比

C#

README

Introduction

InputManager is a custom input manager for Unity that allows you to rebind keys at runtime and abstract input devices for cross platform input.

Features

  • Very simple to implement. It has the same public methods and variables as Unity’s Input class.
  • Allows you to customize key bindings at runtime.
  • Allows you to use XInput for better controller support.
  • Allows you to convert touch input to axes and buttons on mobile devices.
  • Allows you to bind script methods to various input events(e.g. when the user presses a button or key) through the inspector.
  • Run up to four input configurations at the same time for easy local co-op input handling.
  • Save the key bindings to a file, to PlayerPrefs or anywhere else by implementing a simple interface.
  • Seamless transition from keyboard to gamepad with multiple bindings per input action.
  • Standardized gamepad input. Gamepad profiles map various controllers to a standard set of buttons and axes.

Platforms

Compatible with Windows Desktop, Windows Store, Linux, Mac OSX and Android(not tested on iOS but it probably works). Requires the latest version of Unity.

Getting Started

For detailed information on how to get started with this plugin visit the Wiki or watch the video tutorial linked below.

Unity - Custom Input Manager Setup Tutorial

Addons

XInputDotNet

This addon allows you to use XInput for controller support instead of the Unity input system. Only available on Windows platforms.

UI Input Module

Custom standalone input module for the UI system introduced in Unity 4.6.

Input Events

This addon allows you to bind script methods to various input events(e.g. when the user presses a button or key) through the inspector.

For more information about the addons visit the Wiki.

License

This software is released under the MIT license. You can find a copy of the license in the LICENSE file included in the InputManager source distribution.

Contributors

评论

暂无评论