Quantcast
Channel: Questions in topic: "error"
Viewing full articles (7934 articles)
Browse article index
↧

end of line error

$
0
0
f i use this code using UnityEngine; public class GameManager : MonoBehaviour { bool gameHasEnded = false; public void EndGame () { if (gameHasEnded == false) { Debug.Log ("Game over"); } if (RenderBuffer.position.y < -1f) { FindObjectOfType ().EndGame (); } } } it gives this error: Assets/Scripts/PlayerMovement.cs(28,246): error CS1525: Unexpected symbol `end-of-file' i know i'm missing a bracket but i don't know where to put it, if someone could edit this code and add it for me?
↧

Viewing full articles (7934 articles)
Browse article index

Latest Images

Trending Articles



Latest Images