예제 #1
0
 public void DestroyBlock()
 {
     _destroyPosition = BlockTransform.position;
     CanMove          = false;
     _gameController.ReturnBlockIntoPool(this.gameObject);
     _gameController.CheckForSpawning();
     Invoke("PlayDestroyParticles", 0.1f);
     //Destroy(this.gameObject);
 }