Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Programming Cinemachine to respawn

Hello all! So I've been making a 2D side scroller following Brackeys tutorials. I'm using Cinemachine for my 2D camera. I'm working on respawning and when I die and go to respawn the game just hangs. I'm not sure what I'm doing wrong. It works perfectly when I go into the game and bring my virtual camera into my game master script. Then I jump off a ledge. But if I don't bring my virtual camera into my game master script it hangs every time I die. I'm fairly new to coding and haven't been able to figure it out. If anyone has an idea, I would be very grateful. Below I've posted my game master script as well as my player script.

Sign In or Register to comment.