예제 #1
0
 void OnDestroy()
 {
     objectsManager.RemoveObjFromList(this.gameObject);
     pickUpManager.Spawn();
 }