How to rotate a part of an object along two axis so that it observes another object?

How to use ‘lookat’ to rotate an object on two local axis?

Try:

// Set the "Up status of your lookat"
Vector3.LookAt(target.Postion, target.Up );