Quantcast
Channel: Answers for "An instance of type "x" is required to access non-static variable "y""
Browsing all 4 articles
Browse latest View live

Answer by duck

It sounds like your problem is that you don't understand how references work in unity yet. Read more about it here to get started (and upvote any answers which help!).Assuming you've read that, you...

View Article



Answer by Berenger

What do you mean it works with objects transform ? I tried the scripts in an empty project, two empty game objects and those two scripts. There is indeed the non-static error with w, but I got the same...

View Article

Answer by duck

It sounds like your problem is that you don't understand how references work in unity yet. Read more about it here to get started (and upvote any answers which help!).Assuming you've read that, you...

View Article

Answer by Berenger

What do you mean it works with objects transform ? I tried the scripts in an empty project, two empty game objects and those two scripts. There is indeed the non-static error with w, but I got the same...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images