I’m going to close this thread. Please create your own threads for your own problems. Do not hijack/ressurect an old thread to do this. Also, if posting code, please use code-tags .
Finally and more importantly, 2D is not UI. The UI systems is not only another team, it also has its own dedicated sub-forums here.
That said, you’re really talking about how to use C# which is simply scripting and typos.
Thanks.