I got some errors with GetComponent

In my code I’m getting errors with:

myPlayerGO.GetComponent <FPSInputController>().enabled = true;

myPlayerGO.GetComponent <CharacterMotor>().enabled = true;

It shows FPSInputController and CharacterMotor as errors. It says that they don’t exist in context. How can I fix this?

When you highlight the myPlayerGO object and look in the inspector does it have a Component FPSInputController and CharacterMotor?

If not you need to click Add Component and add those items.