Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Next Level Using numbers

$
0
0
I'm trying to make a really simple script (because I'm still new to scripting) so when my 2D character enters the collider the next level will start. I've been literally working on this one script for 30-40minutes. I just need the script to work and for me to be able to edit the numbers in the editor so they can be used on each level and I don't have to remake the script. Script here: function onTriggerEnter2D(other: Collider2D) { SceneManagement.SceneManager.LoadScene(""); } Once again, not good at scripting but I'm really trying here, any help would be great.

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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