Hello,
I’m currently making a little script that switches between two cameras. One camera is written in C# (MouseLook) and the other in Javascript (SmoothFollow)
When I use GetComponent<SmoothFollow>().enabled = false;
I get the error The type or namespace name 'SmoothFollow' could not be found. Are you missing a using directive or an assembly reference?
Somewhere else I’m using GetComponent<MouseLook>().enabled = false;
And that works just fine.