Quantcast
Channel: Answers for "adding classes to arrays"
Browsing all 4 articles
Browse latest View live

Answer by jahroy

Here's some example code that uses a test class named FunkyItem.Like you requested, a FunkyItem object has a name, a description, and a reference to a GameObject.If you assign a GameObject to the slot...

View Article



Answer by SisterKy

I'm not sure if I understand your problem correctly... You want that what you posted there, just instead of 'var object: Transform' something like 'var object: MyThing'? Just make a new .js file and...

View Article

Answer by jahroy

Here's some example code that uses a test class named FunkyItem.Like you requested, a FunkyItem object has a name, a description, and a reference to a GameObject.If you assign a GameObject to the slot...

View Article

Answer by SisterKy

I'm not sure if I understand your problem correctly... You want that what you posted there, just instead of 'var object: Transform' something like 'var object: MyThing'? Just make a new .js file and...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images

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