Quantcast
Channel: Questions in topic: "unity2d"
Viewing all articles
Browse latest Browse all 60

how to: make global variable

$
0
0
hi, i am newbie in unity. before i use vb.net. in vb.net we can create a module just for containing our global variables that can be used in all forms. can i achieve that feature in unity? the real problem is : i have import some sprites in "assests/resources". i have used them in making sprite in the scene. but i need the "sprite" game object to return some value from comparing its sprite with the sprites in "assets/resources". anyone can help?

Viewing all articles
Browse latest Browse all 60

Trending Articles