{ private void OnTriggerEnter2D(Collider2D collider) { Debug.Log("Checking collision with landmine."); string colliderTag = collider.tag; if (colliderTag == "Player") { Debug.Log("Player hit landmine."); LoadLevel.LoadCurrentLevel(); } }
public void OnResetButtonClicked() { TogglePauseMenu(); LoadLevel.LoadCurrentLevel(); }