Setting up
The Madder Starter Pack contains everything you need to integrate your Unity game with the Madder Controller, whether you use the new Unity Input System or not.The Madder Starter Pack requires the Unity Input System package to be
installed. If you do not have the Unity Input System package installed, it
will be installed automatically when you import the Madder Starter Pack.
However, you do not have to use the Unity Input System to use the Madder
Starter Pack.
Installation
You can install the Madder Starter Pack through the Unity Package manager by using this git URL:Integration
The Madder Starter Pack contains two prefabs calledMadderManager and MadderControllerManager that must be
placed in the scene. These prefabs are Singleton classes, which means they will persist across scene loads.
If using the Unity Input system, the Madder Controller layout will be automatically registered with the Unity Input
System upon loading the Unity Editor. You can then assign the bindings to your desired actions in the Unity Input
System. See the Madder Controller class for more information.
The Madder Starter Pack provides a sample game manager, sample player manager, and sample player to show you how you
might interact with the Madder Manager.
Sample Scripts
Sample Scripts
Testing
The Madder Controller Starter Pack contains aMadderControllerTest file that you can use or copy from to test the
Madder Controller in your game. The MadderControllerTest is a simple script that will simulate the Madder
Controller input for testing purposes.
We have also provided a sample game manager to show how you could call the MadderControllerTest.
Madder Test
Madder Test