move to where it facing unity 2d

C#
 transform.up
Source

Also in C#: