General Tips and Tricks
Last updated
Was this helpful?
Last updated
Was this helpful?
If you encounter odd behavior while developing with cInput, it may be helpful to make a call to to clear out any misconfigured cInput settings. But be careful with this! If you accidentally leave this in your release builds that make it to your players, it will erase any player-customized settings. They probably won't be too happy about that.
cInput should execute before other scripts to make sure that all inputs are updated for the current frame before your other scripts try to access them. By default, this should automatically be handled for you when you import the .unitypackage
file, but it's something to be aware of if the is somehow lost or modified.