This is nothing to do with 2D, it’s C# typos so should be on the Scripting sub-forum so I’ll move the thread for you.
Also note, the above should be posted in English and I hope that the above isn’t what you’ve typed into the source but maybe is some translation software? Additionally, there’s just plain typos here such as “Transform.localeScale” which should be “Transform.localScale” i.e. what you used above it in your code.
Finally, please edit your post to use code-tags so that it’s formatted correctly and devs can see the line numbers you’re referring to (36).
Thanks.