Пример #1
0
        public Coroutine SendReport(string title, string description, string listName, List <Texture2D> screenshots)
        {
            // if both the title and description are empty show warning message to avoid spam
            if (title == "" && description == "")
            {
                StartCoroutine(SetActiveForSecondsRoutine(fillInFormMessageUI, 2));
                return(null);
            }

            TrelloCard card = trello.NewCard(title, description, listName);

            return(StartCoroutine(SendReportRoutine(card, screenshots)));
        }