{"id":22012921,"url":"https://github.com/valax321/rewiredinspectorproperty","last_synced_at":"2025-07-11T12:35:06.756Z","repository":{"id":51325900,"uuid":"209236192","full_name":"Valax321/RewiredInspectorProperty","owner":"Valax321","description":"Inspector editable values for Rewired","archived":false,"fork":false,"pushed_at":"2021-05-15T04:44:07.000Z","size":114,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-30T03:15:07.754Z","etag":null,"topics":["input","rewired","unity"],"latest_commit_sha":null,"homepage":"https://openupm.com/packages/com.valax321.rewiredinspectorproperty/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Valax321.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-18T06:37:35.000Z","updated_at":"2024-02-19T14:29:25.000Z","dependencies_parsed_at":"2022-09-24T19:02:59.480Z","dependency_job_id":null,"html_url":"https://github.com/Valax321/RewiredInspectorProperty","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valax321%2FRewiredInspectorProperty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valax321%2FRewiredInspectorProperty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valax321%2FRewiredInspectorProperty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valax321%2FRewiredInspectorProperty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valax321","download_url":"https://codeload.github.com/Valax321/RewiredInspectorProperty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236034786,"owners_count":19084686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["input","rewired","unity"],"created_at":"2024-11-30T03:15:18.216Z","updated_at":"2025-01-28T14:45:48.509Z","avatar_url":"https://github.com/Valax321.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rewired Inspector Properties\n\n[![openupm](https://img.shields.io/npm/v/com.valax321.rewiredinspectorproperty?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.valax321.rewiredinspectorproperty/)\n![Build success](https://github.com/Valax321/RewiredInspectorProperty/actions/workflows/main.yaml/badge.svg)\n\nA set of inspector-editable types that help with safely and efficiently working with [Rewired](https://assetstore.unity.com/packages/tools/utilities/rewired-21676) input actions. Designed as a modern Unity package.\n\nFor use with Unity 2019.2+\n\n![Property Dropdown](Documentation~/showcase.png)\n\n# Usage\n\nThis package provides a number of property types that can be used to setup input through the Unity editor UI in a safe and efficient manner.\n\n| Type | Description |\n| ---- | ----------- |\n| RewiredAction | Used for input actions. |\n| RewiredPlayer | Used for player setups. |\n| RewiredMapCategory | Used for input map categories. |\n| RewiredMouseLayout | Used for mouse layouts. |\n| RewiredKeyboardLayout | Used for keyboard layouts. |\n| RewiredJoystickLayout | Used for joystick layouts. |\n| RewiredCustomControllerLayout | Used for custom layouts in Rewired's custom controller feature. |\n\nThese properties can then be used programatically with Rewired in C#. As an example:\n```csharp\n// Use the correct namespace\nusing Valax321.RewiredActionProperty;\n\n...\n\n// Member variable declarations\n[SerializeField] private RewiredPlayer m_playerID;\n[SerializeField] private RewiredAction m_jumpAction;\nprivate Rewired.Player m_player;\n\n...\n\n// Setup the player\nm_player = ReInput.players.GetPlayer(m_playerID);\n\n...\n\n// Somewhere in your code\nbool isJumping = m_player.GetButtonDown(m_jumpAction); // RewiredAction automatically casts to int so it can be used transparently\n```\n\nBy default the properties look for Rewired information in the generated RewiredConsts file within the `Assembly-CSharp.dll` namespace. If you have a non-standard name or assembly location for your RewiredConsts, you can change the class used for the input listing in your project settings. The inspector will tell you if the class cannot be found so it will be obvious if this needs to be done.\n\n![Settings Menu](Documentation~/settings.png)\n\n## License\nMIT license. See LICENSE for more.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalax321%2Frewiredinspectorproperty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalax321%2Frewiredinspectorproperty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalax321%2Frewiredinspectorproperty/lists"}