Quantcast
Channel: Answers by "AyAMrau"
Viewing all articles
Browse latest Browse all 91

Answer by AyAMrau

$
0
0
To add a script to a game object just use AddComponent: var script : MyScript; script = gameObject.AddComponent (MyScript); Replace MyScript with the name of a script you want to attach.

Viewing all articles
Browse latest Browse all 91

Trending Articles



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