public void OnPointerClick(PointerEventData _data)
 {
     if (_data.pointerCurrentRaycast.gameObject.GetComponent <HoldCustomTile>() != null && _data.pointerCurrentRaycast.gameObject.name.Contains("SlotPrefab"))
     {
         SetTransitTile();
         if (TransitTile == null && _data.pointerCurrentRaycast.gameObject.GetComponent <HoldCustomTile>().CustomTile != null)
         {
             PickTile(_data.pointerCurrentRaycast.gameObject);
             TextInfo.SetActive(false);
         }
         if (_data.pointerCurrentRaycast.gameObject.GetComponent <HoldCustomTile>().CustomTile == null)
         {
             PlaceEndTile(_data.pointerCurrentRaycast.gameObject);
         }
         else
         {
             SwapTile(_data.pointerCurrentRaycast.gameObject);
         }
     }
     if (_data.pointerCurrentRaycast.gameObject.name.Contains("Bin"))
     {
         m_inventoryBackPack.ClearStorage(ChosenTile);
         ChosenTile = null;
         TileImage.gameObject.SetActive(false);
     }
 }