I follow this video, and unity show me this error cs1520, please help me
[201786-問題2.png|201786]
I follow this video, and unity show me this error cs1520, please help me
[201786-問題2.png|201786]
The error message tells you all you need to know. Line 11 is where the error occurs and CS1520 says that any method that you create must have a return type. All methods should either have “void” or a type before the method name. Since the method doesn’t need to return anything, just add “void” before the name (which you seem to have mistyped - should be called Grid, not Gird???)