コード例 #1
0
 public void Destroy(Item item1, Item item2)
 {
     GetItem.square.DestroyBlock();
     if (GetItem.square.type == SquareTypes.WireBlock)
     {
         GetItem.StopDestroy();
     }
     SoundBase.Instance
     .PlayOneShot(SoundBase.Instance.explosion);
     Instantiate(explosion, transform.position, Quaternion.identity);
     DestroyBehaviour();
 }