Example #1
0
 private void Reset()
 {
     xAxis = new CinemachineInputAxisDriver
     {
         multiplier = -10f,
         accelTime  = 0.1f,
         decelTime  = 0.1f,
         name       = "Mouse X",
     };
     yAxis = new CinemachineInputAxisDriver
     {
         multiplier = 0.1f,
         accelTime  = 0.1f,
         decelTime  = 0.1f,
         name       = "Mouse Y",
     };
 }
Example #2
0
 private void Reset()
 {
     SpeedMultiplier = 0.0075f;
     xAxis           = new CinemachineInputAxisDriver
     {
         multiplier      = 5f,
         accelTime       = 0.1f,
         decelTime       = 0.1f,
         axisSpace       = AxisSpace.x,
         speedMultiplier = SpeedMultiplier,
     };
     yAxis = new CinemachineInputAxisDriver
     {
         multiplier      = -0.025f,
         accelTime       = 0.1f,
         decelTime       = 0.1f,
         axisSpace       = AxisSpace.y,
         speedMultiplier = SpeedMultiplier,
     };
 }
Example #3
0
 private void Reset()
 {
     xAxis = new CinemachineInputAxisDriver
     {
         sensitivity      = 1,
         multiplier       = 10,
         isInverted       = false,
         accelerationTime = 0.1f,
         decelerationTime = 0.1f,
         name             = "Mouse X"
     };
     yAxis = new CinemachineInputAxisDriver
     {
         sensitivity      = 1,
         multiplier       = -0.1f,
         isInverted       = false,
         accelerationTime = 0.1f,
         decelerationTime = 0.1f,
         name             = "Mouse Y"
     };
 }