ソースコード
var player = ReInput.players.GetPlayer(0);
//"Default"カテゴリにある入力を無効にする
player.controllers.maps.SetMapsEnabled(false, "Default");
//"UI"カテゴリにある入力を有効にする
player.controllers.maps.SetMapsEnabled(true, "UI");
カテゴリは、Rewired Editorの Map Categories から追加できます
さいごに
公式ドキュメント
Rewired Documentation
Rewiredの購入はこちらから
Rewired | Utilities Tools | Unity Asset Store
Use the Rewired from Guavaman Enterprises on your next project. Find this utility tool & more on the Unity Asset Store.
コメント