Ejemplo n.º 1
0
 public void Update()
 {
     transform.position = m_spline.GetPoint(m_distAlongSpline);
     transform.LookAt(Camera.current.transform);
     transform.RotateAround(transform.position, Vector3.up, 180);
 }