android device textures and camera speed script

hey guys

I’m new in unity and for my first runner game I want my camera follow my player in the axis X but not in Y because i don’t want my cam to follow my player when he jump (my player have a speed of 10)

can you help me for the Csharp script ?

i have another problem when i import my game on android my 2d player texture is black with bad dimentions can you help on that?

nobody can help me?