예제 #1
0
 public static void HitBrick(GameObject brick)
 {
     if (brick.CompareTag("Breakable"))
     {
         BrickController bc = brick.GetComponent <BrickController>();
         bc.handleHits();
     }
 }