I made a question earlier concerning gameObject which I was corrected on my mistake but now my class is derived from MonoBehaviour and the script is attached to a game object called Player but gameObject doesn't exist in the scope but GameObject does.
I'm still unable to get my Character Controller component through the gameObject.GetComponent method.
![alt text][1]
![alt text][2]
[1]: /storage/temp/49291-untitled.png
[2]: /storage/temp/49292-untitled.png
↧