Player falls off platform and…

Initially lives are updated in void start, and again when the player falls into the Death_Zone, respawning.
Dead_Zone component setup.
Dead zone box collider trigger.
OnTriggerEnter function on Death_Zone script.
Variables for Player lives and respawning.
Respawn location game object.
PlayerDies method in UIManager on Canvas
Lives_txt game object.
UpdateLives method on UIManager script on Canvas

Unity Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

EXCLUSIVE: Elusive 10th Software Engineering YouTube video topic discovered

My OutBox experience

C# Delegates Simplified — I— Journey from Delegates to Lambda Expressions

Greedy Algorithms — Djkastra Algorithm

Weekly Digest #21

Understanding the Frontend/Backend Relationship

Orchestration and Choreography are two much-debated buzzwords in recent times as far as…

How to build models as products using MLOps? Part 4 | Deploying Models in APIs with kedro-fast-api

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hal Brooks

Hal Brooks

Unity Developer

More from Medium

Targeting Reticle

Moving Platforms in Unity

Journal 143 — Unity Project Development, 2.5D Shooter

Creating Double Jump!