示例#1
0
 void Reset()
 {
     camera = GetComponent <DualHingeCamera> ();
     camera.verticalSpan =
         new AnimationCurve(new Keyframe(-20.0f, 0.0f), new Keyframe(-9.0f, 0.5f), new Keyframe(30.0f, 0.0f));
     // Mapping angle to move speed factor. Extremes are low and high clamp.
     camera.updateSpeed = 5;
 }
示例#2
0
		void Reset ()
		{
			camera = GetComponent<DualHingeCamera> ();
			camera.verticalSpan =
				new AnimationCurve (new Keyframe (-20.0f, 0.0f), new Keyframe (-9.0f, 0.5f), new Keyframe (30.0f, 0.0f));
					// Mapping angle to move speed factor. Extremes are low and high clamp.
			camera.updateSpeed = 5;
		}
示例#3
0
		protected virtual void Reset ()
		{
			camera = GetComponent<DualHingeCamera> ();
		}
 protected virtual void Reset()
 {
     camera = GetComponent <DualHingeCamera> ();
 }