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.
GameObject[] gObjects = new GameObject[10]; gObjects.Add(objectA); GameObject newObjectA = gObjects[0]; I think that's what you mean.
https://answers.unity.com/questions/503934/chow-to-check-if-an-object-is-facing-another.html
I'm working on an adventure, would be curious to see what you come up with. I think a dialog manager with subject/multiple character lines back...
Great input, guys. I was just building off some tutorials so no, advanced planning in that stage doesn't work out well because I was just trying...
I don't mean a project, but sometimes it's best to just scrap a script even if it's complicated. I hate to do it and go around about doing all...
Are these in your update method? You have Debug statements in there, are they accurate? The "if" statement has to be met before it will print or...
On the OnClick method, You can choose a method that takes an integer. A drop down list will appear when you set it from the OnClick, and you can...
Your for loop just sets the last rabbit as the destination, which is kind of a waste. You could just set the last position instead of stepping...
You didn't post any code, but basically you want to use a boolean variable to tell if an enemy was destroyed. OnCollisionEnter(Collisiion Co){...
One part of it is to use a nested loop to place rows and columns....
One thing you might want to try is StopAllCoroutines before calling it the second time. If you are using some type of counter in there, I don't...
It's hard to tell from the information given, but if you want individual behavior, like for a weapon or whatever, then generally store that...
You are missing a + between @ and smeltPerSec
Something like this, where another cube is tagged "cube1" void Start () { Vector3 original =...
You might have gotten the angle from a quaternion originally. Quaternions only go to 180 degrees. Transform.eulers go to 360. I read this some...
Yeah, it's a little different private IEnumerator Touched() { } When you call it: StartCoroutine(Touched());
You can try in a sample project with a cube or something. If you deactivate it, then reactivate, it will be in the same position. You haven't...
https://stackoverflow.com/questions/10709821/find-text-in-string-with-c-sharp
I can't tell you why it's doing that. If you change the position, it should end up where it says. Myself, I generally leave an empty at the...
You can have the start method return an Ienumerator instead of void.