mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-05 19:39:21 +00:00
Added a unity editor script to toggle ragdoll via animation on your avatar
This commit is contained in:
parent
76f9244d9c
commit
e426418806
6 changed files with 39 additions and 0 deletions
12
ml_prm/RagdollToggle.cs
Normal file
12
ml_prm/RagdollToggle.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace ml_prm
|
||||
{
|
||||
public class RagdollToggle : MonoBehaviour
|
||||
{
|
||||
[Tooltip("Whether or not is should use the isOn property to override the current Ragdoll State of the Avatar.")]
|
||||
[SerializeField] public bool shouldOverride;
|
||||
[Tooltip("Whether Ragdoll State is active or not on the Avatar. Requires shouldOverride to be true to work.")]
|
||||
[SerializeField] public bool isOn;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue