Initial Setup
Most of the setup is done for you if you import the .unitypackage
file or import cInput from the Asset Store. Nevertheless, cInput should only take--at most--the following number of steps to be ready for use in your project:
Use the
Edit -> Project Settings -> cInput -> Setup InputManager Asset
menu command in the Unity Editor to create anInputManager.asset
file designed to work with cInput.Place
cInput.cs
somewhere in yourAssets/Plugins
folder (or a subfolder of that directory) and it will automatically be accessible from your other scripts. This step should happen automatically if you imported the.unitypackage
file.cInput comes with some optional helper classes which can make it easier to do certain things, such as the
Keys
class which gives you autocomplete on key names. These should also go somewhere within theAssets/Plugins
folder. Again, this should happen automatically if you imported the.unitypackage
file.
That's it! You're now ready to start using cInput in your project.
Last updated