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.
You're calling changeName.panel before panel is set. Panel is set when you call changeName.NameChanger() . Call changeName.NameChanger() before...
Note: the "drag into inspector" is a huge part of Unity. Use that over .Find where possible. Regardless, changing the GameObject to Transform...
Reviewed. I like this, will do. Neat I'll check it out. Yup, that's where I'll spend my time for now. Thank you everyone.
You need to make the panel a Transform not a GameObject. using UnityEngine; using UnityEngine.UI; public class ChangeName : MonoBehaviour {...
If the inactive game object has a parent, you can use GameObject.Find. Example: GameObject gameObject = parentObject.transform.Find("cube");...
No worries. Keep coding and correcting yourself, you'll get there eventually.
Agreed. FInd calls might not be great, but they are great for learning because they are easy to understand. That's what I would do initially as...
Hello!! (I was going to post this in the meta forums, but I didn't want to be a noob and get it removed). I'm new to the Unity forums (and...
Good news! You can actually use a 2D collider on the fists to detect if it hit something via a trigger that will move with the animation, so that...
Of course, you could use an animation that you simply run when the button is fired and you will get the desired effect, and have barely any code...
I just tried it and I died instantly lol. I just replicated the game. Keep in mind, there are many ways to do this. It was a little out of the...
First and foremost, check out the Unity blog on the new Input system: https://blogs.unity3d.com/2019/10/14/introducing-the-new-input-system/ 90%...
Great! I'll keep following this thread for updates. Good luck!
In your code, you are moving the left and right hand TOWARDS the destination position, not TO it. That line of code is only happening once when,...
Weird. Makes sense since canvas components are potentially being scaled even when not playing, but still seems like a bug especially if you aren't...
Adding to @Brathnann 's answer. Correct me if I'm wrong in seeing what you are trying to achieve, but do you want to remove the player that is...
There has to be something else going on in your code. As stated above, if you truly instantiate A, B and C in a single frame, the Start methods...
Neat!! I can't play the exe right now, but it looks like a lot of fun. I hope it's ok if I make a couple suggestions (mostly visual): A parallax...
I saw your first comment, but then saw you corrected yourself. You had me looking back at my post, thought I lost my mind for a second, lol.
I see a number issues. lootAngle needs to be LootAngle like @bobisgod234 said you call SpawnPotion several times but the method name is...