Question by
Compgenije · Mar 11, 2017 at 06:49 AM ·
semicolon
UCE0001: ';' expected. Insert a semicolon at the end. Help please
pragma strict
using System.Collections; using UnityEngine; var maxFallDistance = -10; using UnityEngine.SceneManagement;
function Update() { if (transform.position.y <= maxFallDistance) { SceneManager.LoadScene("First_Level"); } }
Comment
Answer by Compgenije · Mar 11, 2017 at 06:50 AM
For some reason it just goes into that wierd form If anyone can still help me someway pls contact me