C# CharacterController controller = GetComponent(CharacterController);
Can anyone help me how can I access the character controller from C#...
The errorss I am getting is "Expression denotes a type, where a varuable, value or method group was expected."
What Matyi Csapo offered will work. I prefer not so many glyphs on my screen, so I use the generic version:
You'll find this right on the documentation page. (It is missing a semicolon, but this page has been rewritten for the 3.0 documentation and looks error-free there.)
answered Aug 22, 2010 at 02:44 PM
answered Aug 22, 2010 at 02:36 PM