void Init([bool useGUI])


useGUI: Whether or not to use cInput's built-in GUI. Defaults to true.


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.


// no need to pass in a parameter cInput.Init(); // if you're using the [UI system as of Unity 4.6+](, you don't need to use cGUI. cInput.Init(false);

results matching ""

    No results matching ""