Could someone show me how to disable the Char controller?
I know you have to find the gameobject that it is attached to but I don’t know what to do from there.
Could someone show me how to disable the Char controller?
I know you have to find the gameobject that it is attached to but I don’t know what to do from there.
If you have a script attached to your GameObject:
void EnableOrDisable(bool bEnable) {
GetComponent<CharController>().enabled = bEnable;
}
“CharController” is the component name.
Sbizz.
Thanks!