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.
I want a function in my script to be called after waiting for a second, dk if this is even possible. Someone pls help. using System.Collections;...
Yea he does, could you please give an example of some code that could solve the issue.
I have two colliders on the player right, but they aren't separate from the player, I had a similar issue with my pickups in the game and someone...
yea okay could you give an example, I am a tard when it comes to c#, this is for my college assignment
The player does have two colliders Basically all I could say I was a tard and didn't realize that they were being called twice but it was only...
after doing a bunch of testing I've notice that my OnTriggerEnter2D is calling the Die() function twice, but i don't have a clue why. This is...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Dead : MonoBehaviour { public GameMaster...
Nope didn't work lol.
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public...
void SetLivesText() { livesText.text = "Lives: " + currentLives; } This works with the void Die funtion
[ATTACH] This screenshot shows the Debug.log's only being printed once but the player has lost 2 lives when they should have lost one.
1. Die() is the only way in which the lives can be deducted from the player 2. The OnTriggerEnter2D is the only place where the function is being...
// You call this method when the player collides with something that kills him // or whenever anything else happens that kills him This is the...
I have this issue with my lives script where when the player dies he will lose more than one life, even though in my script the lives calculation...
Cheers mate, good eye for spotting that.
For some reason my checkpoints are not working in my 2D platformer game, the checkpoint is meant to be activated when the player collides with it...
For some reason, my script gives this error, the line is meant to activate a checkpoint in my game but doesn't seem to work. using...
I want to be able to have an if() statement in my script which checks whether a bool value is true or false then do something, but I had many...
I tried it out mate and it really F***ed my gameplay up, dk what im doing wrong
I won't lie mate but I haven't got a clue what I'm doing, I'm a beginner trying to make a game for my college assignment