private void OnCollisionEnter(Collision collision) { if (collision.gameObject.tag == "Player") { SceneGoTo.LoadScene("Weather", text, village, go); } }
public void GoToScene() { Time.timeScale = 1; SceneGoTo.LoadScene("Start", text, village, gameobject); }