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

C# unexpected symbol error

$
0
0
im new to programming, this is my first code so i would really appreciate some help. I have this script that keeps giving me two errors, i`ve checked on the internet and i couldn`t find a solution. The script: void Update() { if (Input.GetMouseButtonDown(0) && !UnityEngine.Eventsystem.Eventsystem.current.IsPointerOverGameObject()) } The errors: Assets/Scripts/World_interaction.cs(16,4): error CS1525: Unexpected symbol `}' Assets/Scripts/World_interaction.cs(16,5): warning CS0642: Possible mistaken empty statement Line 16 is the line with the end curly bracket.

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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