Exemplo n.º 1
0
 protected virtual void DeadEffect()
 {
     for (int i = 0; i < 9; i++)
     {
         Corpse corpse = PrefabsManager.SpawnCorpse(GetCorpseType());
         corpse.Init(transform.position);
     }
 }