Hi guys, I’m not sure what has happened to my unity.
Before when I wanted to use the rigidbody component of an object, I could just type gameobject.rigidbody.etc (YES MY OBJ HAS A RIGIDBODY ATTACHED)
Now, when I do that, the option ‘rigidbody’ is gone, and unity says I’m using an obsolete API. Now I have to always type gameObject.GetComponent().etc… FOR EVERYTHING.
Can anyone tell me why this is happening? I’m watching tutorials and no1 else seems to have the same issue… it’s getting annoying lol
The short cut accessors were built early in the days of Unity. As Unity has gotten bigger its attracted bigger and bigger games. And several engine problems have been highlighted. Some of the problems caused by the short cut accessors are: