Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

gameObject missing

$
0
0
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

Viewing all articles
Browse latest Browse all 7934

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>