public static void AddMatchedBlocks(BlockElementDragHandler blockElement)
 {
     if (blockElement != null)
     {
         if (currentMatchingColor == blockElement.currentBlockColor)
         {
             if (!matchedBlocks.Contains(blockElement))
             {
                 matchedBlocks.Add(blockElement);
                 blockElement.GetComponent <Matching>().StartMatching(blockElement.snapZone);
             }
         }
     }
 }
 public void SetAttachedBlock(BlockElementDragHandler b)
 {
     block = b;
 }
 void OnEnable()
 {
     blockHandler = this.gameObject.GetComponent <BlockElementDragHandler>();
 }