Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
85af588eac
|
@ -162,7 +162,7 @@ public class BloodComputeShader : MonoBehaviour
|
|||
score += bufferData[0];
|
||||
|
||||
float mappedRumble = Convert.ToSingle(bufferData[0]).Remap(0, RumbleAmount, 0, 0.1f);
|
||||
RumbleManager.StartRumble(-1, 0, mappedRumble, 0.1f);
|
||||
//RumbleManager.StartRumble(-1, 0, mappedRumble, 0.1f);
|
||||
|
||||
squeakVolume += 0.1f;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public class EnemyAnimationHandler : MonoBehaviour
|
|||
IEnumerator AnimationDie()
|
||||
{
|
||||
Strangle();
|
||||
Debug.Log("Strangle");
|
||||
//Debug.Log("Strangle");
|
||||
yield return new WaitForSecondsRealtime(0.1f);
|
||||
Die();
|
||||
}
|
||||
|
|
|
@ -43,6 +43,6 @@ public class RopeRumbling : MonoBehaviour
|
|||
float ropeClamed = Mathf.Max(0, rope.Overshoot);
|
||||
float sensitive_mapped = ropeClamed.Remap(0.2f, 1f, 0f, MaxVibration);
|
||||
float mapped = ropeClamed.Remap(0.9f, 1f, 0f, MaxVibration);
|
||||
RumbleManager.StartRumble(-1, mapped, sensitive_mapped, 0.1f);
|
||||
RumbleManager.StartRumble(-1, 0, sensitive_mapped, 0.1f);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue