private void OnDestroy() { if (RagdollGenerator._instance == this) { RagdollGenerator._instance = null; } }
private void Awake() { RagdollGenerator._instance = this; }