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.
What do you want to happen when you click the button?
OnMouseDown = set active OnMouseUp = set inactive
Interesting. The State Machine seems like my solution. This AI is going to be extremely basic in size and scope. It will simply follow...
Hello friends. I need help executing an action after a former action is completed. In my current script, when I set the bools onTheRotate or...
That was definitely the problem! I have updated my code to approximate values of floats and angles and the code works perfectly. As soon as...
I have a question about optimization. Do the MoveTowards and RotateTowards functions stop being called when the rotation is complete? If I have...
2) Have you tried "Regenerate Project Files" and reopening a script in visual studio? [ATTACH] You are a lifesaver my friend. Visual Studio...
Also, Time.d is meaningless, didn't end with a semicolon, and should have thrown up an error!!
I'm getting back into it and my Visual Studio is no longer autofilling things or giving me spellcheck-style underlines with errors! In the pic...
Thank you Sud! Your code looks nice and clean.
I need the values of the 3rd grade division ie. 8/3 = 2r2 I ALSO potentially need the value of one higher ie. 8/3 = 3r-1 The result I would use...
That makes too much sense
I have a class called Coordinate that is comprised of a Vector3 and a few strings. I want the user to be able to create an instance of this class...
He resets value in line 46
What do you want to offset? Also, you need (not really NEED, but it's the way to go) to have a flat floor for this type of grid snapping. A...
It's not very taxing to update text every frame. Since this guy is new it is the easiest to get working. I never update text in Update() but...
The X and Y axis are controlled by the left Joystick. You can just use the default unity inputs of horizontal and vertical.
This forum is not designed to get people to write your code for you.
Int.Parse will convert an int value to a string Make a function that takes a string as a parameter. Then in your input field, call the method...
Declare a variable public int count; When an object appears, increment count by 1 ManagerScriptOrWhatever.count++; In a UI script, declare a...