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 Assetmenu command in the Unity Editor to create anInputManager.assetfile designed to work with cInput.Place
cInput.cssomewhere in yourAssets/Pluginsfolder (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.unitypackagefile.cInput comes with some optional helper classes which can make it easier to do certain things, such as the
Keysclass which gives you autocomplete on key names. These should also go somewhere within theAssets/Pluginsfolder. Again, this should happen automatically if you imported the.unitypackagefile.
That's it! You're now ready to start using cInput in your project.
Last updated
Was this helpful?