我試了2小時依然找不到答案,請問這要怎麼辦?
it is a c# script but you are writing in JavaScript… you have to select JavaScript when creating a script in C# function() is void()