Add multiplier dmg
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user