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.
↧