when i click on up arrow my animated character moves forward i want the camera to follow the animated character where ever he goes
when i click up arrow when character moves forward camera should follow it like in car games when car goes running the camera follows it
Make sure you have imported the scripts package for your project. This comes with a number of useful scripts, including camera control.
When / if the package is imported, select your camera, go to the component menu, and under "Camera Control" select the "Smooth Follow" script.
That script will be a good starting place. You'll need to assign the follow target.
To do this, make sure your camera is selected and you can see the variables in the inspector window, then drag your target into the "Target" variable