errors in the script in unity - C#