Quantcast
Channel: Answers for "An instance of type "x" is required to access non-static variable "y""
Browsing latest articles
Browse All 4 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

Browsing latest articles
Browse All 4 View Live


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