public void BlockBurned(Block otherBlock) { if (otherBlock.IsDestroying || _block.IsDestroying) { return; } otherBlock.Destroy(); Detonate(); }
public void BlockBurned(Block otherBlock) { if (otherBlock.IsDestroying) { return; } if (fireReact != null) { AudioSource.PlayClipAtPoint(fireReact, transform.position); } otherBlock.Destroy(); _block.Destroy(); }
public void BlockBurned() { Instantiate(particle, transform.position, Quaternion.identity); _block.Destroy(); }
public void BlockBurned() { Detonate(); _block.Destroy(); }