↧
Answer by robertbu
Declaring the variable does not give you access to the LevelMaster script. You have to initialized 'levelMaster'. You can do it my first selecting the game object with the obove script and dragging and...
View ArticleAnswer by Burla
If your variable *scoreCount* isn't already both *public* and *static* you could do that, which makes it accessible from the second script. The *NullReferenceException* can easily be solved by using...
View Article