Init
void Init([bool useGUI])
Parameters
useGUI: Whether or not to use cInput's built-in GUI. Defaults to true
.
Description
Use this to manually initialize the cInput object.
cInput will attempt to create the cInput object automatically upon first use, but there are some situations which might require you to manually call this method first. Thus it is considered best practice to call Init()
at the beginning of your setup script.
Example
Last updated