Add multiplier dmg

This commit is contained in:
2024-08-10 19:53:06 +02:00
parent 6e0802163e
commit 5104b336ca
2 changed files with 6 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ public class RagdollComponent : MonoBehaviour
StartCoroutine(RagdollCoroutine());
}
// Needs to be coroutine, because if we modify all rigidbodies at the same time,
// unity play mode crashed in VR
IEnumerator RagdollCoroutine()
{
var animators = GetComponentsInChildren<Animator>();