How would you move onto the next hole in a golf game?

I am making a golf game with 5 levels, I was following this tutoiral and I could only make it go on to hole 2 from hole 1 but from there I don’t know how to get from hole 2 to hole 3. If anyone knows how to solve this, much appreciated. Thank you.

You have no context in your question.

  • Which tutorial?
  • What do you mean by move onto.
  • Is it Camera movement?
  • Is it Player movement? Is it scene loading?
  • Are your holes game objects?

Please don’t expect us to magically guess everything.

should be the same basic code you used to get to hole 2 from 1. When the hole is completed ( sink the putt or whatever to get ball in hole) you can trigger it there by having a trigger zone in the cup that is triggered by the ball

using UnityEngine;
using System.Collections;

public class goToNextHole : MonoBehaviour {

	public string levelToLoad;//put the name of the next hole here. The name of the scene
	void OnTriggerEnter(Collider other) {
		if(other.tag == "ball")