Exemplo n.º 1
0
    public void deleteBoard()
    {
        BoardHandler boardHandler = new BoardHandler();
        Board        board        = new Board();

        GameObject item = GameObject.Find(EventSystem.current.currentSelectedGameObject.gameObject.transform.parent.name);

        board.Board_Name = item.GetComponentInChildren <Text>().text;
        boardHandler.Delete(board);

        refreshGallery();
    }