Disable the new First Person Controller script?

I’m trying to disable the new First Person Controller by C# script that came with Unity 5 using _player.GetComponent().enabled = false… But that doesn’t seem to work at all…

It seems I can’t access it for some reason… It would be handy if I could, because tonight I will start coding the Options menu for my game where you could set mouse sensitivity and such, but that won’t be possible for me to do as long as I don’t know how to access that script from another script…

Do you have any Logs from your Console, we could use with, or any behaviour you get when you are trying to access it?

I figured it out… I had to use the namespace UnityStandardAssets.Characters.FirstPerson in order to access it…

Please explain as I used to use:
GameObject.Find(“First Person Controller”).GetComponent(FirstPersonController).enabled = false;
and I don’t exactly understand what you mean by UnityStandardAssets.Characters.FirstPerson

I’m currently using javascript

I found something that works for me …

var fpc : UnityStandardAssets.Characters.FirstPerson.FirstPersonController; // set in Inspector from player game object

fpc.enabled=false;