コード例 #1
0
 void Update()
 {
     health = aniScript.health;
     if (health <= 0 && !spawned)
     {
         if (DropChance())
         {
             GameGoodies.EnemyDropRate(this.transform, objectPrefabList, InstantiateFolder, 1);
         }
         spawned = true;
     }
 }