void Start()
        {
            if (!cameraFirstTarget)
            {
                cameraFirstTarget.position = Vector3.zero;
            }
            if (!cameraSecondTarget)
            {
                cameraSecondTarget.position = Vector3.zero;
            }

            cameraTarget       = (cameraFirstTarget.position + cameraSecondTarget.position) / 2;
            td.position        = transform.position;
            transform.rotation = Quaternion.LookRotation(cameraTarget - transform.position, Vector3.up);
            td.eulerAngles     = new Vector3(transform.eulerAngles.x, transform.eulerAngles.y, 0);
//			td.eulerAngles = transform.eulerAngles;
            td.eulerAngles.x = Mathf.Clamp(transform.eulerAngles.x, PanAngleMin, PanAngleMax);

            init = td;
        }
        void Start()
        {
            if(!cameraFirstTarget)
                cameraFirstTarget.position = Vector3.zero ;
            if(!cameraSecondTarget)
                cameraSecondTarget.position = Vector3.zero ;

            cameraTarget = (cameraFirstTarget.position + cameraSecondTarget.position)/2;
            td.position = transform.position;
            transform.rotation = Quaternion.LookRotation(cameraTarget - transform.position, Vector3.up);
            td.eulerAngles = new Vector3(transform.eulerAngles.x, transform.eulerAngles.y, 0);
            //			td.eulerAngles = transform.eulerAngles;
            td.eulerAngles.x = Mathf.Clamp(transform.eulerAngles.x, PanAngleMin, PanAngleMax);

            init = td;
        }
 public void Reset()
 {
     td = init;
     disablePlayingCinematique();
 }
 public void Reset()
 {
     td = init;
     disablePlayingCinematique();
 }