> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/annex/integrations/rewired.md).

# Rewired

## Asset Location

{% hint style="info" %}

## :joystick: [**Rewired**](https://assetstore.unity.com/packages/tools/utilities/rewired-21676?aid=1100lHT6) &#x20;

{% endhint %}

<div align="center"><img src="https://lh4.googleusercontent.com/4OByMMOzZyt0pco0Au4pd-DQCfXUIR6Xl8HOgniXCcOVTSi8Cfq2veoWrDTwteXytgWBgSuTcXnTeTGpmNXa4Os4M6XCGKMXlAel7v2DogFTu4Z-cpWzN-E4FzN0qFEOZq0lrMUC" alt=""></div>

{% hint style="info" %}

### Remember to have both packages on your project installed correctly

{% endhint %}

## Integration Steps

1. Go to **Edit->Project Settings -> Player**

<div align="center"><img src="/files/-LzivW8mgR44H77klFcb" alt=""></div>

2\. Add **"REWIRED"** to the Scripting Define Symbol\*

<div align="center"><img src="https://lh4.googleusercontent.com/sIrVcRIjZ32J4cwRyG_xeOvC14qmjDjyII61ZMJodVqvWD-TyrZ-R43veKmjSwoBVeGLXrVy222PP8YFE_qNvSOhC4JRQAYrpP375DEDufJKtTX7fwbPPu1_xAZOAbdfBJMc08Ro" alt=""></div>

3\. Once done that a new **string** parameter will show up on every script that requires **Input**… such as:

[**MalbersInput**](/animal-controller/main-components/malbers-input.md),  MFreeLookCamera, [**MInput**](/animal-controller/main-components/malbers-input.md)

![](https://lh4.googleusercontent.com/_XFst2_6tmw_XXWNho6fazLvu3ds4zWz52bFndYXuJeYCwDpWGf02wFeoo_dEsMYQ1EnXXk23LvUQ4uEOkKmxK_qmgBGXRfDFTC0S-v_s7hIRNYNO8F4UHPXD8XP3x3GBMgEDdhy)

{% hint style="info" %}
This parameter is the **Player ID** for **Rewired.**
{% endhint %}

4\. Change all the types from "**KEY**" to "**INPUT**" on all the Inputs Parameters on every script to complete the connection.

![](https://lh3.googleusercontent.com/zaXyYe2CJfqdcDlZen__X4L_gv8TRNciq4CggLKiOiKuopUoIMPXOr3kUELg2YxFHMEpisZocflgA3uN-UjVYm22zGGSA1d1a2WMSzjp6eu2yx4A-xyOyRg8hBUPc0nCZvpmhthz)

5\.  Download from the [**Integration Drive Folder**](https://bit.ly/MalbersIntegrations) the Rewired Input Source to have a **base** Input Manager with all the mappings… (you can always change it with yours).

You can find the prefab on this location:

![](https://lh3.googleusercontent.com/JPjxs8q8BIAFt62U0tlrGivzfBH05yHm86fBADXJqGytcvq1F2hj9QZC3JfrvdAP1gMg49frUAZeziA0o3Vl6rAMkjGHmEQd4y2hxeMz-mhooxwCKZtA0Kc_dS30h7NJQClnobx8)

6\. Drop the **Prefab** to your scene … and that’s it.

**This prefab has the basic Actions already setted.. but you can always add/modify them.**

![](https://lh3.googleusercontent.com/74cqa404dLjPoNd-E9RlPoLEy8OnkfFUvMaI0UOLY9c25N2FXvIJDoFiMvyQSgFtceGMo9kFVjvkiqmN9MbHkxl2NTI3xNpWBtQCvpfREi4GyaqSNQ2iCaEYQ1rIXQTYOdKRgN5k)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://malbersanimations.gitbook.io/animal-controller/annex/integrations/rewired.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
