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; }
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; }
protected virtual void Reset () { camera = GetComponent<DualHingeCamera> (); }
protected virtual void Reset() { camera = GetComponent <DualHingeCamera> (); }