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.
Instantiate the object at the transform location of the player. To make the object follow the player you could put a script on the object that...
Thanks for the response. It turned out the issue was that I was using Time.time in the second example instead of Time.deltaTime. Time.deltaTime...
I'm attempting to make an xbox controller smoothly rotate a 2D object on its z axis. I have achieved rotation in a multitude of ways, but it's...
Thanks for the response. After further tinkering I came up with the following that does the job: bool hit = true; bool raise = false; bool...
I'm trying to make a hammer sprite lower and raise using rotation. What am I doing wrong here? I get no rotation at all. bool hitting = true;...
If you're talking about the gizmo that can be used to drag around objects you can make one yourself or there are some resources out there for it....
I've got UI elements in a canvas with world space render mode. The elements are in a certain layer, and I use gameObject.layer to change them to...
I used a combo of Zyxil and rindoh's methods to get it to work on a prefab with the navmesh agent already on it. I just keep the navmesh agent...
Edit: I ended up abandoning this method and going the navmesh route which did exactly what I wanted. I'm attempting to make a group of npc's with...
I'm doing split screen and I've also got camera filters on each players camera that are unique to the player. The filters however seem to apply...
Oh nice I didn't even realize Behaviour was a type. Also I'm not sure why I didn't just serialize the list in the first place. Think I've been...
Edit: I actually got impatient and ended up doing this the manual way without the list so I've accomplished my goal but if possible I'd still...
Since he's doing it as a Color32 it will still take a few seconds to reach 255.
Lol yeah I'm bad about that. I don't think it would've taken him long after sticking a Debug.Log in there to see what was going on with the color.
This will fix it. Also optimized a bit for you: public IEnumerator SetTheNight() { Image nightEffectImage =...
Set canJump to false right after jumping and that will solve your problem. if (Input.GetKeyDown(KeyCode.Space)) { if (canJump) {...
The best place you can start is the unity tutorials: https://unity3d.com/learn/tutorials
If a box collider has corners that hit and cause you issues, and a capsule collider has a rounded bottom that causes sliding on edges or steep...
Why not have a script on an object with DontDestroyOnLoad () and have separate lists in it for all the particle emitters in each scene. Manually...
Thanks guys that helped a lot. That block of code has been a thorn in my project for months and I've been putting off optimizing it. I'm...