Answer the question
In order to leave comments, you need to log in
How to make a reference to an object in unity in C#?
Hello, can anyone help? In unity, the non-static method UnityEngine.Component.transform.get requires a reference to an object. The error appears on line 16 with error CS0120. Due to the fact that I just started learning C #, I don’t understand what needs to be added. If it's easy, please describe in more detail. Thanks in advance!
https://habrastorage.org/webt/5e/ae/eb/5eaeeb93d86... - link to code screen.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question