Skip to content

Studio-23-xyz/com.studio23.ss2.betterrebinder

Repository files navigation

Better Rebinder

Better Rebinder provides an easy and intuitive way to rebind your inputs with the new Input System for Unity.

Table of Contents

  1. Installation
  2. Getting Started
  3. Saving and Loading Overrides

Installation

Git URL

You can also use the "Install from Git URL" option from Unity Package Manager to install the package.

https://github.com/Studio-23-xyz/com.studio23.ss2.betterrebinder.git#upm

Package Manager

  1. open Edit/Project Settings/Package Manager
  2. add a new Scoped Registry (or edit the existing OpenUPM entry)
Name 	package.openupm.com
URL 	 https://package.openupm.com
Scope(s) com.cysharp.unitask 
         com.studio23.ss2.betterrebinder
		 com.studio23.ss2.buttoniconresourcemanager
  1. click Save or Apply
  2. open Window/Package Manager
  3. click +
  4. select Add package by name... or Add package from git URL...
  5. paste com.studio23.ss2.betterrebinder into name
  6. click Add

Getting Started

Initialize

Simply find the Input Rebind Canvas prefab, drag it into the scene and assign your desired Input Action Asset in the RebindMenu component. Once that's done, use the context menu action and click on Generate Rebind Elements to spawn in and setup your rebinding actions in the UI and you're good to go!

Saving and Loading Data

Saving Input Overrides

Note: You must implement IsDirty property for ISavables

Load Input Overrides

Loading data is as simple as calling the LoadMethod.

Other Links

OpenUPM Page