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, I'm making a 2d game demo for school, and I recently imported a tile map into the game using TIled and Tiled2Unity. I've done this before with...
Hello...Again, I am having trouble with animation in my 2d game. I am attempting to move objects up on the y-axis, but whenever I attempt this,...
Hey everybody, So, I am making a 2d rpg kinda dealio, and I have had this issue for a while where, when the player is moving diagonally, and I...
Holy Guacamole it finally works!!! Thank you so, so, so much for all of your help. I don't know how I can ever repay you lol. This was such a...
Also I have it set so that when you level up, you gain a heart, but with this new method, it just gives you an empty heart.
Also just found out that whenever I hit a slime, it resets my current health back to full.
It's really weird because the debug.Log comes up with 1, I have a feature where it shows how much damage they are doing by floating above the head...
PlayerCurrentHealth doesn't change at all.
well it pops up with player hit, but it doesn't do anything else.
No errors, except for something with uGui which I'm pretty sure is a bug with Unity, but other than that, my defense stats are all set to 0...
Oops, sorry.other.gameObject.GetComponent<PlayerHealthManager>() .HurtPlayer(currentDamage); Here's the line.
Here is the script that I am using for hurting the player using System.Collections; using System.Collections.Generic; using UnityEngine; public...
OK, here is the updated script. I also am noticing that my enemies are no longer hurting me. Do you know why? using System.Collections; using...
Also, I am now getting this warning. SendMessage cannot be called during Awake, CheckConsistency, or OnValidate...
Will this system work if the script is on the player, or does it have to be on heart container?
I realize now that I was just being dumb, and didn't have anything assigned to HeartPrefab, or HeartContainer. I assigned a UI image of the heart...
Now I am getting this error, I have no idea why it's on that line. I also am not taking damage when I play the game. NullReferenceException:...
There isn't a capitalized version of playerCurrentHealth, what should I use instead?
So, I'm trying to implement this, but I'm running into a few errors. For example: (60, 2) unexpected symbol "public", a warning that says "(60,...