Skip to content
This repository was archived by the owner on Jun 3, 2023. It is now read-only.

Joy-less/Unity-Keybinds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Note: it is recommended to use the new Unity input system instead.

Unity Keybinds

Easily assign multiple keys to an action and manage your keybinds all in one script in Unity.

This script is free to use commercially.

Example:

Keybinds.cs:

public static KeyCode[] MoveLeft {get; private set;} = {KeyCode.A, KeyCode.LeftArrow};

Movement.cs:

if (Keybinds.GetKeys(Keybinds.MoveLeft)) {
    // Move
}

About

Easily assign multiple keys to an action in Unity.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages