Exemplo n.º 1
0
        public static void LaunchSuccess(string url)
        {
            BuildUploadCompletedWindow buildUploadCompletedWindow = BuildUploadCompletedWindow.Launch();

            buildUploadCompletedWindow.title      = BuildUploadCompletedWindow.s_Content.m_WindowTitleSuccess.text;
            buildUploadCompletedWindow.m_Success  = true;
            buildUploadCompletedWindow.m_URL      = url;
            buildUploadCompletedWindow.m_ShortURL = BuildUploadCompletedWindow.ShortenURL(url);
        }
Exemplo n.º 2
0
        private static BuildUploadCompletedWindow LaunchFailure(string message)
        {
            BuildUploadCompletedWindow buildUploadCompletedWindow = BuildUploadCompletedWindow.Launch();

            buildUploadCompletedWindow.title          = BuildUploadCompletedWindow.s_Content.m_WindowTitleFailure.text;
            buildUploadCompletedWindow.m_Success      = false;
            buildUploadCompletedWindow.m_ErrorMessage = message;
            return(buildUploadCompletedWindow);
        }