public BaseTileData()
 {
     m_topTile      = null;
     m_bottomTile   = null;
     m_leftTile     = null;
     m_rightTile    = null;
     m_activeEntity = null;
 }
        public void CheckOnUIOnAllTiles()
        {
            foreach (GameObject tile in m_tilesList)
            {
                BaseTileController btc = tile.GetComponent <BaseTileController>();

                if (btc != null)
                {
                    if (btc.OnTile)
                    {
                        m_onTiles = true;
                        break;
                    }
                }

                m_onTiles = false;
            }
        }