UICell InstantiateCell(int x, int y, UIItem.eType type)
    {
        Transform parent = m_CellBase.transform.parent;
        Vector3   refPos = getRefGridPos();

        UICell cell = Instantiate <UICell>(m_CellBase, parent);

        cell.transform.localPosition = refPos + getPos(m_RoomConfig.getPos(x, y));
        cell.name = "cell_" + x + "_" + y + (type != UIItem.eType.None ? "_" + type.ToString() : "");
        cell.gameObject.SetActive(true);
        cell.SetCoord(x, y);

        m_Cells.Add(cell);

        return(cell);
    }