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.
So without seeing your code.... The problem is basically kinda like a divide by 0 error... that results in an infinite number of possibilities....
Similar to how you'd set anything else to inactive. You'll need a reference to the child game object somehow. Your question is quite broad. So...
My guess is that Player1 and or Player2 are null references. The error should pinpoint the exact line where the object you're referring to is...
Start off by helping everyone diagnose your code a bit better by using code tags in your post above. That process is explained here:...
What you have so far should work.. you've got your sound manager in the scene.. your sound manager has an audio source on it with a clip...
You should really consider doing some tutorials.. I realized you were asking for a specific one, but just go under the Learn section in the Unity...
This shouldn't be anything too complicated actually, unless I'm misunderstanding your needs here (which is possible, since you didn't provide much...
You should probably disable your collider too Sold... on the free version. That will do everything I need. Really, I'm just looking for the nice...
Nice! Sorry to briefly derail the thread, but do you think the Pro version is worth purchasing? I am not sure if "You cannot query whether a...
Ahh, then @jeffreyschoch wins the prize.. when you destroy the object the coroutine is attached to, you also destroy the coroutine. Might need to...
Great suggestion. BTW, for the OP, I find that right clicking on your script in the Project Explorer and selecting Find References in Scene (I...
Are you sure it doesn't ever execute the line after this: yield return new WaitForSeconds(m_BoostTime); If you didn't, put a Debug.Log statement...
The problem is you're treating the function Speedboost as if it is a coroutine. Basically what will happen when you call Speedboost function.......
If you're referring to an actual index like you are here, I think you have to first size the array.. something like this.... if you're expecing...
I don't know why you'd get an error for the int, as that should default to 0 if you didn't populate it, I believe (it least it does when I test...
I think the only reason I'd suggest two collections (of some sort) above is that it would be easier to maintain, should you decide to add a new...
I'm just thinking out loud here, but in my head i'd say you could have two different collections (you could do it with one, but it might make more...
Yep, exactly what I was thinking.. good stuff! It's a pretty common thing in RPGs too. Glad that worked out for you.
I like the lotto ticket idea, so +1 for that. One other idea is maybe you could have rarity groups, for lack of a better term here... so say...
Hmm, looking at the code, it seems like that should work (although, I'm not sure why you don't store everything as the unchanged float, and why...