This is nothing to do with 2D features, it’s C# typos you’ve made. I’ll move your post to the Scripting forum for you. I’ll also remove the 2D physics tag because it’s nothing to do with that either.
Also, please post code using code-tags rather than pictures of code or plain text.
cs1061 is useless to report. The error tells you the exact line and column as well as a description. Report those but use code-tags because otherwise we’ll not know what the line numbers are.
Thanks.