Quantcast
Channel: Answers by "Foose"
Viewing all articles
Browse latest Browse all 34

Answer by Foose

$
0
0
i really dont understand what you are trying there. u can code in js, c# and boo with unity. doesnt matter. So basically u can make one script out of them when u change the unityscript file to cs. Edit: If you really want to keep the two scripts seperate, I can give you an example how it will work in c# but no clue how it is in js. Attach the script with the string to a gameobject. Now in your unityscript reference to this script by calling ScriptyScript str = GameObject.Find("[name of the go the script is attached to]").GetComponent(); str.stringy //is the command you will be using in your unity script to get the stringy variable of the other script)

Viewing all articles
Browse latest Browse all 34

Trending Articles



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