CameraHeadBob.cs 337 B

12345678910111213141516
  1. using System;
  2. using UnityEngine;
  3. namespace HQFPSWeapons
  4. {
  5. [Serializable]
  6. public class CameraHeadBob
  7. {
  8. public Vector3 PosAmplitude = new Vector4(0.35f, 0.5f, 0f);
  9. public Vector3 RotationAmplitude = new Vector4(0.35f, 0.5f, 0f);
  10. [Range(0.1f, 100f)]
  11. public float HeadBobSpeed = 1f;
  12. }
  13. }