Make the player shoot towards a mouse click 2d Platformer

Similar to a system in Trine, I am really bad at raycasting and all of that type of stuff.

Thanks In Advance.

//get mouse position
var worldpoint = uiCamera.ScreenToWorldPoint(Input.mousePosition);
//convert to 3d for propulsion look at
return new Vector3(worldpoint.x, 0, worldpoint.y);
// Look at and dampen the rotation
var rotation = Quaternion.LookRotation(InputTurn);
var neR = Quaternion.Slerp(transform.rotation, rotation, Time.deltaTime * Turnrate);
transform.rotation = neR;