Changing the parent of an Animated 3D object in a script

I have the character jumping to a certain distance already done in Maya. I need to know how to script (transform.parent to the Unity Camera’s) for it to work on time he jumps and gets Unity Camera for 2 seconds, and then (reassign it to the ImageTarget’s transform) by the time he returns.

Frame 0-60 character enters and the target image,
frame 61-75 he jumps to Unity Camera that need to be fixed as if holding the camera from Iphone,
frame 75-120 he is holding in Unity Camera 121-135
frame it jumps back to the orginal image target position. it will be necessary to make a new animation in unity, beyond that already exists in Maya, to specify the distance from 3D character to Unity Camera within the unity?

How can I script that…

Did you look in the documentation?

Animation time can be used in the conditional to control when you want to execute an event.

There are some good examples of how to parent and un parent in the transform section of the scripting reference.

(parent example) transform.parent = somevar.transform; or transfrom.parent = null;

could you help me with the script?