Quantcast
Channel: Latest Questions by Kaputnik88
Viewing all articles
Browse latest Browse all 21

How to create an instance of a class stored in another script

$
0
0
Hey there, What I want to do is store class definitions in a script attached to gameobjectA, then at runtime instantiate these classes from a script attached to gameobjectB. How would I go about this? I'm working in UnityScript by the way.

Viewing all articles
Browse latest Browse all 21

Trending Articles



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