Ejemplo n.º 1
0
 private void CheckAdjoiningBlocks()
 {
     foreach (Transform child in transform)
     {
         BlockController block = child.GetComponent <BlockController>();
         if (block != null)
         {
             block.CheckForViolation();
         }
     }
 }