A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I solved it! Thanks methos5k for putting me in the right direction. I was trying to get the prefab in this part of the code. for (int i...
Although I see where your getting at. But I don't understand how I could be referencing the prefab when I am doing an instantiate on it.
You mean comment out this line? GameObject currentObject = Instantiate(item.objectToPool); But then I will not have any instances at all in my pool.
Hi! I've spent the last few hours googling this problem and have come to similar behaviour but not exaxtly. This is driving me completly bonkers!...
Hi! New to the forum (which is great!) and I have a question regarding the threads. Within threads there are sometimes text formatted as Code...
Yes, I know about OnValueChanged but if I hook up a function to that in the inspector it will also run if I change the slider value...
Yeah, that looks good. Thanks for the suggestion!! That way it's possible to make fairly generic classes if one would want to (like me that pretty...
Thanks, how do I connect a script to a script that you mention above? I'll add some images to try an explain my example a little bit more...
Thanks Brathnann! I think it's the GetComponent that I'm not used to. That's pretty much what I meant by "public instantiation". It just seems...
Hi! I'm new to scripting in Unity but not new to C#. What annoys me a little is that I can't call public functions in other scripts since there...