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.
Oh, it works now! So yes, the problem was on the OnGUI that I had written in Start and TakeDamage function. Thanks so much!!
I tried that but still doesn't work..
Yes I already added all my scenes into the scene in build section. using System.Collections; using System.Collections.Generic; using...
Tried both but still no changes.
Okay I did that. I called Death on the TakeDamage function. It's still the same as before. Can't reload the level. And I noticed something else....
Yes, here's the complete code of my script. I'm new to this and some things may be not that correct or a little confusing, like the inventory. I...
I made a void called Death and wrote the if statement in there and got no errors in the script. And yes that is working fine... when I play the...
I created a GameManager script in which I wrote down the infos of the health and score of my player. I attached the script to my Game Manager...
if my player dies, I want to restart the level. This is what I got so far: this is what I wrote after Monobehaviour: private Scene activescene;...
So the idea is to collect the right key to open one specific door. When my player stands in front of the door or collides with the door, I want to...
Got it now. Didn't have enough space... thanks!
I wrote this in my script: InventarText.text = ("hello" + System.Environment.NewLine) + ("my" + System.Environment.NewLine) + ("name" +...
Here's my problem: I have a Danger script and a GameManager script. My Game Manager script includes the health and maxHealth of my player. Now I...