Quantcast
Channel: Answers by "Lovrenc"
Viewing all articles
Browse latest Browse all 90

Answer by Lovrenc

$
0
0
It says it all in the error message. public GameObject shipObject; void Start () { shipObject = GameObject.Find ("Default"); } The problem there is, code outside of functions is executed before any unity objects are created, a call there would be meaningless.

Viewing all articles
Browse latest Browse all 90

Latest Images

Trending Articles





Latest Images