C# Application.LoadLevel problems, need help!

I’m very new to C#. I’m trying to make my game when it hits a block tagged as “Complete” It switches the levels. How do I fix this, theres no output error

using UnityEngine;
using System.Collections;

public class GameManager : MonoBehaviour {
public int currentLevel = 0;

void OnCollisionEnter(Collision other)
	if (other.transform.tag == "Complete") {
		Application.LoadLevel(currentLevel + 1);


What is it exactly you need help with?

If the level isn’t loading, make sure the next level is registered in the Build Settings (add the scene to the Build order and make sure the index is correct).

Also by the way, the line “currentLevel++” is unnecessary because anything after LoadLevel will not execute, since a new level will be loaded and all scripts will begin anew.