Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

i am trying to switch between levels and am getting error in the code

$
0
0
i am new to coding and getting error in this code. i dont know why using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelCompleted : MonoBehaviour { public int sceneBuildIndex; private void OnTriggerEnter2D(Collision2D other) { if (other.tag == "Player") { SceneManager.LoadScene(sceneBuildIndex, LoadSceneMode.Single); } } } ,

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>