im following tutorial and error CS0103 comes

You must have missed something in your tutorial. you’re not declaring the t_direction variable anywheere in your script. You cannot use undeclared variables in C#.

Also please use Code Tags when posting code to the forums in the future.