bugfixed tambourine and player death

death still needs work!
This commit is contained in:
Sam
2023-04-30 14:16:29 -07:00
parent 9f36564e67
commit c51af3ce92
6 changed files with 27 additions and 22 deletions

View File

@@ -102,6 +102,7 @@ public class StateController : MonoBehaviour {
}
public void RespawnPlayer() {
Destroy(GameObject.FindGameObjectWithTag("Player"));
SetDeathCanvasActive(false);
GameObject.Find("Main Camera").GetComponent<CameraMovement>().FindPlayer();
RespawnEnemies();