예제 #1
0
 private void OnDestroy()
 {
     if (RagdollGenerator._instance == this)
     {
         RagdollGenerator._instance = null;
     }
 }
예제 #2
0
 private void Awake()
 {
     RagdollGenerator._instance = this;
 }