Exemplo n.º 1
0
 private void OnDestroy()
 {
     if (RagdollGenerator._instance == this)
     {
         RagdollGenerator._instance = null;
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     RagdollGenerator._instance = this;
 }