Quantcast
Viewing all articles
Browse latest Browse all 39

Answer by nikita68

It needs to be: public void Survival() { //your code } The "public" factor before the method shows Unity that the method can be called outside of that script.

Viewing all articles
Browse latest Browse all 39

Trending Articles



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