Пример #1
0
    private void startTimeOver()
    {
        timeSlider.value = cleaningTime;

        timeChangeState = TimeChange.TIMEOVER;
        stateText.text  = ("끝났습니다.");
    }
Пример #2
0
    // Start is called before the first frame update
    void Start()
    {
        quizBank = new QuizBank[3];

        QuizBank _quiz1 = new QuizBank();

        _quiz1.quiz   = "다음 특성을 지닌 원두는 무엇일까요? \n- Flavor : Floral , Raisin \n - Taste Balance : Cane Sugar & Sweet \n - Acidity : Green grafe , Juicy \n - Body : Soft body \n - After : Smooth , Clean \n 꽃계열의 향. 과일의 단맛. 산미.";
        _quiz1.answer = "Dolce";
        quizBank[0]   = _quiz1;

        QuizBank _quiz2 = new QuizBank();

        _quiz2.quiz   = "다음 특성을 지닌 원두는 무엇일까요? \n- Falvor : Winey , Complexity \n- Taste Balance : Sweet & Caramel \n - Acidity : Blackberry , pomegranate \n - Body : Medium body \n - After : Clean & Long finish \n 달달한 카라멜향. 20초반 추출시 산미. \n 20대 후반 추출시 쓴맛.";
        _quiz2.answer = "Largo";
        quizBank[1]   = _quiz2;


        QuizBank _quiz3 = new QuizBank();

        _quiz3.quiz   = "다음 특성을 지닌 원두는 무엇일까요? \n- Flavor : Herb-like \n - Taste Balance : Nutty & CaCao \n - Acidity : Grapefruit , Blackcurrant \n - Body : Medium body \n -After : Smooth Mouthfeel , Clean \n 허브. 산미. 쓴맛.";
        _quiz3.answer = "Lusso";
        quizBank[2]   = _quiz3;


        //quizBank[0].quiz = "- Flavor : Floral , Raisin \n - Taste Balance : Cane Sugar & Sweet \n - Acidity : Green grafe , Juicy \n - Body : Soft body \n - After : Smooth , Clean \n 꽃계열의 향. 과일의 단맛. 산미.";
        //quizBank[1].quiz = "- Falvor : Winey , Complexity \n- Taste Balance : Sweet & Caramel \n - Acidity : Blackberry , pomegranate \n - Body : Medium body \n - After : Clean & Long finish \n 달달한 카라멜향. 20초반 추출시 산미. 20대 후반 추출시 쓴맛.";
        //quizBank[2].quiz = "- Flavor : Herb-like \n - Taste Balance : Nutty & CaCao \n - Acidity : Grapefruit , Blackcurrant \n - Body : Medium body \n -After : Smooth Mouthfeel , Clean \n 허브. 산미. 쓴맛.";



        timeChangeState = TimeChange.EXPRESSION;
        StartCoroutine(CheckTimeChange());

        selectedAns = selectedAns.GetComponent <SelectedAns>();
    }
Пример #3
0
        public async Task <Dto.Calendar?> ProceedTime(TimeChange timeChange)
        {
            var game = await _gameService.GetById(_sessionService.GetCurrentGameId());

            Calendar?calendar = await _calendarRepository.FetchByIdAsync(game !.CalendarId);

            if (calendar == null)
            {
                throw new NullReferenceException(nameof(calendar));
            }
            if (timeChange.SetTime != null)
            {
                calendar.CurrentTime = timeChange.SetTime.Value;
            }
            else
            {
                calendar.addSeconds(timeChange.Seconds ?? 0);
                calendar.AddMins(timeChange.Minutes ?? 0);
                calendar.AddHours(timeChange.Hours ?? 0);
                calendar.AddDays(timeChange.Days ?? 0);
                calendar.AddYears(timeChange.Years ?? 0);
            }
            await _calendarRepository.UpdateAsync(calendar.Id, calendar);

            return(_mapper.Map <Dto.Calendar>(calendar));
        }
Пример #4
0
    IEnumerator startEspresso()
    {
        timeSlider.value = expressionTime;

        timeChangeState = TimeChange.ESPRESSO;
        stateText.text  = ("에스프레소 4잔을 만들어 주세요.");

        frontText.text = ("트레이에 4개의 컵받침과 스푼을 준비해 주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("그라인더를 사용해 포터필터에 분쇄원두를 담아주세요.");
        yield return(new WaitForSeconds(19));

        frontText.text = ("검지를 이용해 원두를 레벨링해주세요.");
        yield return(new WaitForSeconds(9));

        frontText.text = ("템퍼로 원두를 눌러주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("한번 더 그라인더를 사용해 포터필터에 분쇄원두를 담아주세요.");
        yield return(new WaitForSeconds(19));

        frontText.text = ("검지를 이용해 원두를 레벨링해주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("템퍼로 원두를 눌러주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("버튼을 차례로 눌러 양 노즐의 물을 빼주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("버튼을 눌러 꺼주세요");
        yield return(new WaitForSeconds(1));

        frontText.text = ("두 포터필터를 차례로 교합해 주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("4개의 에스프레소 잔을 놓아주세요");
        yield return(new WaitForSeconds(7));

        frontText.text = ("추출 버튼을 차례로 눌러주세요."); // 이후 26초 후 추출 끄기
        yield return(new WaitForSeconds(3));

        frontText.text = ("잠시 주변을 청소해 주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("추출이 끝나길 기다립니다.");
        yield return(new WaitForSeconds(13));

        frontText.text = ("버튼을 눌러 추출을 꺼주세요.");
        yield return(new WaitForSeconds(1));

        frontText.text = ("컵받침 위에 잔을 놓아주세요.");
        yield return(new WaitForSeconds(11));

        frontText.text = ("쟁반을 들고 심사위원에게 서빙하세요.");
        yield return(new WaitForSeconds(12));
    }
Пример #5
0
 // Use this for initialization
 void Start()
 {
     mainCam    = GameObject.Find("Main Camera");
     readout    = GameObject.Find("Readout");
     myMaster   = mainCam.GetComponent <GridMaster> ();
     myC        = GameObject.Find("Controller").GetComponent <Controller> ();
     myTimer    = GameObject.Find("Timer").GetComponent <TimeChange>();
     faceSprite = GameObject.Find("CharacterFace").GetComponent <SpriteRenderer>();
 }
Пример #6
0
        public async Task <ActionResult <Calendar> > Put([FromBody] TimeChange timeChange)
        {
            var result = await TimeService.ProceedTime(timeChange);

            if (result is null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }
Пример #7
0
        private static TimeChange GetTimeChangeForLocalTime(List <TimeChange> changes, DateTimeOffset localTime)
        {
            TimeChange timeChange      = null;
            var        numberOfChanges = changes.Count - 1;

            for (var i = 0; i <= numberOfChanges; i++)
            {
                var change = changes [i];

                // If the old local time was 02:00 and the new local time is 03:00
                // and the user ask for the timezone on 02:30 they will get this exception
                if (localTime.ToMinuteCompare(change.OldLocalTime.DateTime) == 1 &&
                    localTime.ToMinuteCompare(change.NewLocalTime.DateTime) == -1)
                {
                    throw new LocalTimeDoesNotExistException("The time and date requested falls between the old and new timezone");
                }

                // If the date the user ask for is older (earlier) than the first time change
                var localTimeIsEarlierThanOldLocalTime = localTime.ToMinuteCompare(change.OldLocalTime.DateTime);
                if (localTimeIsEarlierThanOldLocalTime <= 0)
                {
                    timeChange = change;
                    break;
                }

                // If the date the user ask for is newer or the same date as the new local time
                var localTimeIsLaterThanNewLocalTime = localTime.ToMinuteCompare(change.NewLocalTime.DateTime);
                if (localTimeIsLaterThanNewLocalTime >= 0)
                {
                    // If this is the last time change then this is the timechange the user is in
                    if (i == numberOfChanges)
                    {
                        timeChange = change;
                    }
                    else
                    {
                        // If there is more time changes, and the date the user asks for is later than
                        // the next date. Just continue to the next date. If not, 'change' is the
                        // timechange the localTime is in
                        var next = changes [i + 1];
                        if (localTime.ToMinuteCompare(next.NewLocalTime.DateTime) >= 0)
                        {
                            continue;                             // Could be made recursive
                        }
                        else
                        {
                            timeChange = change;
                            break;
                        }
                    }
                }
            }

            return(timeChange);
        }
Пример #8
0
    // Use this for initialization
    void Start()
    {
        //Get all blocks
        for (int i = 0; i < 8; i++)
        {
            for (int j = 0; j < 8; j++)
            {
                string nameToFind = "codeBlock" + i + j;
                gridBlocks[i, j] = GameObject.Find(nameToFind);
                col2[i, j]       = Color.black;
            }
        }
        theGrid = GameObject.Find("TheGrid");
        theKeyG = GameObject.Find("TheKey");
        readout = GameObject.Find("Readout");
        readout.GetComponent <TextMesh> ().text = "";
        myC     = GameObject.Find("Controller").GetComponent <Controller> ();
        myTimer = GameObject.Find("Timer").GetComponent <TimeChange>();

        if (myC.cryptCount > 0)
        {
            cryptNum = int.Parse(myC.cryptName.Substring(9)) - 1;
        }

        faceSprite        = GameObject.Find("CharacterFace").GetComponent <SpriteRenderer>();
        faceSprite.sprite = faces [cryptNum];

        for (int i = 0; i < 9; i++)
        {
            //print(myC.allKeys[2,i]);
            theKey[i] = myC.allKeys [myC.cryptCount, i];
        }
        for (int i = 0; i < 9; i++)
        {
            keyBlocks[i].GetComponent <Renderer>().material.color = theKey[i];
        }
        for (int i = 0; i < 6; i++)
        {
            colorPalette[i] = myC.colorPalette[i];
        }

        /*
         * for (int i = 0; i < allCodeBlocks.Length; i ++) {
         *      allCodeBlocks[i].name = "block_" + i;
         * }
         */
        //Make color arrays that are the same length as the block array.
    }
Пример #9
0
        private async void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            if (loaded)
            {
                return;
            }
            string timestamp = TimeChange.ToUnix(DateTime.Now);
            //string longtime = TimeChange.ToLongUnix(DateTime.Now);
            HttpClient client = new HttpClient();

            HttpRequestMessage    request  = new HttpRequestMessage(HttpMethod.Post, new Uri(url));
            FormUrlEncodedContent postData = new FormUrlEncodedContent(
                new List <KeyValuePair <string, string> >
            {
                new KeyValuePair <string, string>("timestamp", timestamp),
                new KeyValuePair <string, string>("u", ""),
                new KeyValuePair <string, string>("noncestr", "ND7DBOM651JA4ODXLDPI37ASZKCBC32I"),
                new KeyValuePair <string, string>("mc", "0000000005e6b1d8ffffffff9c1fe4e0"),
                new KeyValuePair <string, string>("appuid", ""),
                new KeyValuePair <string, string>("hardName", DeviceFlag.GetDeviceFlag()),
                new KeyValuePair <string, string>("ac", "d5424fa6-adff-4b0a-8917-4264daf4a348"),
                new KeyValuePair <string, string>("bv", "2014"),
                new KeyValuePair <string, string>("vc", "3.5"),
                new KeyValuePair <string, string>("vs", "4.4.4"),
                new KeyValuePair <string, string>("appsign", "12c56931c985342d94058da7e5772b4b")
            }
                );

            request.Content = postData;
            HttpResponseMessage response = await client.SendAsync(request);

            string responseString = await response.Content.ReadAsStringAsync();

            va = JsonConvert.DeserializeObject <vaccine>(responseString);
            if (va.Success)
            {
                va.Data.ForEach(z =>
                {
                    vList.Add(z);
                });
                Group <vaccineSec> .GetItemGroups(vList, i => i.Months).ForEach(p => group.Add(p));
            }
            else
            {
                MessageHelper.Show("获取数据失败");
            }
        }
Пример #10
0
    IEnumerator startCleaning()
    {
        timeSlider.value = capuccinoTime;

        timeChangeState = TimeChange.CLEANING;
        stateText.text  = ("뒷정리를 해주세요.");

        frontText.text = ("커피포터를 빼내 찌꺼기를 버려주세요.");
        yield return(new WaitForSeconds(6));

        frontText.text = ("버튼을 눌러 커피포터를 흐르는 물에 씻어주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("커피포터를 교합 상태로 두세요.");
        yield return(new WaitForSeconds(1));

        frontText.text = ("다른 커피포터를 빼내 찌꺼기를 버려주세요.");
        yield return(new WaitForSeconds(6));

        frontText.text = ("버튼을 눌러 커피포터를 흐르는 물에 씻어주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("커피포터를 교합 상태로 두세요.");
        yield return(new WaitForSeconds(1));

        frontText.text = ("그라인더 가루를 빼내 주세요.");
        yield return(new WaitForSeconds(8));

        frontText.text = ("붓으로 주변을 쓸어 가루를 통에 버려주세요.");
        yield return(new WaitForSeconds(15));

        frontText.text = ("청소 수건으로 주변을 닦아주세요.");
        yield return(new WaitForSeconds(20));

        frontText.text = ("수건을 제 위치에 놓아주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("끝을 선언해 주세요.");
        yield return(new WaitForSeconds(3));
    }
Пример #11
0
    IEnumerator startExpression()
    {
        timeChangeState = TimeChange.EXPRESSION;
        stateText.text  = ("시작 멘트 시간입니다.");
        frontText.text  = ("시작을 선언해 주세요.");
        yield return(new WaitForSeconds(3));

        frontText.text = ("문제를 풀어주세요.");
        PopUpQuiz();
        isQuiz = true;
        yield return(new WaitForSeconds(29));

        isQuiz = false;
        if (quizUp != null)
        {
            quizUp.SetActive(false); // 문제 창 끄기
        }
        yield return(new WaitForSeconds(1));

        frontText.text = ("선택한 원두를 심사위원 테이블에 전달하세요.");
        yield return(new WaitForSeconds(7));
    }
Пример #12
0
 void Swap(float length)
 {
     if (length > threshold)
     {
         if (!swap)
         {
             spRend.sortingOrder = -100;
             TimeChange.Swap();
             swap            = true;
             spRend.material = Stencil;
         }
     }
     else if (length < -threshold)
     {
         if (swap)
         {
             spRend.sortingOrder = -100;
             TimeChange.Swap();
             //tEG.UpdateLayers();
             swap            = false;
             spRend.material = Stencil;
         }
     }
 }
Пример #13
0
 void Awake()
 {
     current = this;
 }
Пример #14
0
        private async void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            string     url       = "http://drugs.dxy.cn/api/v2/vaccines-detail";
            string     timestamp = TimeChange.ToUnix(DateTime.Now);
            HttpClient client    = new HttpClient();

            HttpRequestMessage    request  = new HttpRequestMessage(HttpMethod.Post, new Uri(url));
            FormUrlEncodedContent postData = new FormUrlEncodedContent(
                new List <KeyValuePair <string, string> >
            {
                new KeyValuePair <string, string>("id", id),
                new KeyValuePair <string, string>("timestamp", timestamp),
                new KeyValuePair <string, string>("u", ""),
                new KeyValuePair <string, string>("noncestr", "ND7DBOM651JA4ODXLDPI37ASZKCBC32I"),
                new KeyValuePair <string, string>("mc", "0000000005e6b1d8ffffffff9c1fe4e0"),
                new KeyValuePair <string, string>("appuid", ""),
                new KeyValuePair <string, string>("hardName", "ASUS_X002"),
                new KeyValuePair <string, string>("ac", "d5424fa6-adff-4b0a-8917-4264daf4a348"),
                new KeyValuePair <string, string>("bv", "2014"),
                new KeyValuePair <string, string>("vc", "3.5"),
                new KeyValuePair <string, string>("vs", "4.4.4"),
                new KeyValuePair <string, string>("appsign", "12c56931c985342d94058da7e5772b4b")
            }
                );

            request.Content = postData;
            HttpResponseMessage response = await client.SendAsync(request);

            string responseString = await response.Content.ReadAsStringAsync();

            vaccineDetail v = JsonConvert.DeserializeObject <vaccineDetail>(responseString);

            if (v.Success)
            {
                var tmp = v.Data;
                name.Text   = tmp.AliasName;
                num.Text    = tmp.InjectionNumber;
                eff.Text    = tmp.Effect;
                tips.Text   = tmp.Introduction;
                forman.Text = tmp.Vaccination;
                if (!string.IsNullOrEmpty(tmp.Precautions))
                {
                    attention.Text = tmp.Precautions;
                }
                else
                {
                    attentionLabel.Visibility = Visibility.Collapsed;
                    attention.Visibility      = Visibility.Collapsed;
                }
                if (!string.IsNullOrEmpty(tmp.Contraindications))
                {
                    forbidden.Text = tmp.Contraindications;
                }
                else
                {
                    forbiddenLabel.Visibility = Visibility.Collapsed;
                    forbidden.Visibility      = Visibility.Collapsed;
                }
            }
            else
            {
                MessageHelper.Show("获取数据失败");
            }
        }
Пример #15
0
        private async void ApplicationBarIconButton_Click(object sender, EventArgs e)
        {
            if (!ps.State.ContainsKey("uid"))
            {
                MessageHelper.Show("请先登录");
                return;
            }
            if (string.IsNullOrEmpty(productName.Text))
            {
                MessageHelper.Show("产品名称不能为空");
                return;
            }

            if (string.IsNullOrEmpty(productMedia.Text))
            {
                MessageHelper.Show("发布媒体不能为空");
                return;
            }

            string timestamp = TimeChange.ToUnix(DateTime.Now);
            string uid       = ps.State["uid"].ToString();

            string responseString;

            HttpClient         client  = new HttpClient();
            string             url     = "http://dxy.com/api/fake/drugs/report";
            HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, new Uri(url));

            if (string.IsNullOrEmpty(productIntro.Text))
            {
                FormUrlEncodedContent postData = new FormUrlEncodedContent(
                    new List <KeyValuePair <string, string> >
                {
                    new KeyValuePair <string, string>("timestamp", timestamp),
                    new KeyValuePair <string, string>("u", ""),
                    new KeyValuePair <string, string>("noncestr", "EB2QZM8OBYK7DE2WX65DBMYKLA6F60MK"),
                    new KeyValuePair <string, string>("mc", "0000000005e6b1d8ffffffff9c1fe4e0"),
                    new KeyValuePair <string, string>("appuid", uid),
                    new KeyValuePair <string, string>("hardName", "ASUS_X002"),
                    new KeyValuePair <string, string>("ac", "d5424fa6-adff-4b0a-8917-4264daf4a348"),
                    new KeyValuePair <string, string>("bv", "2014"),
                    new KeyValuePair <string, string>("vc", "3.5"),
                    new KeyValuePair <string, string>("vs", "4.4.4"),
                    new KeyValuePair <string, string>("appsign", "22865937d06dd46505c68538ee91b56b"),
                    new KeyValuePair <string, string>("meida", productMedia.Text),
                    new KeyValuePair <string, string>("productName", productName.Text)
                });
                request.Content = postData;
                HttpResponseMessage response = await client.SendAsync(request);

                responseString = await response.Content.ReadAsStringAsync();
            }
            else
            {
                FormUrlEncodedContent postData = new FormUrlEncodedContent(
                    new List <KeyValuePair <string, string> >
                {
                    new KeyValuePair <string, string>("timestamp", timestamp),
                    new KeyValuePair <string, string>("u", ""),
                    new KeyValuePair <string, string>("noncestr", "ND7DBOM651JA4ODXLDPI37ASZKCBC32I"),
                    new KeyValuePair <string, string>("mc", "0000000005e6b1d8ffffffff9c1fe4e0"),
                    new KeyValuePair <string, string>("appuid", uid),
                    new KeyValuePair <string, string>("hardName", "ASUS_X002"),
                    new KeyValuePair <string, string>("ac", "d5424fa6-adff-4b0a-8917-4264daf4a348"),
                    new KeyValuePair <string, string>("bv", "2014"),
                    new KeyValuePair <string, string>("vc", "3.5"),
                    new KeyValuePair <string, string>("vs", "4.4.4"),
                    new KeyValuePair <string, string>("appsign", "12c56931c985342d94058da7e5772b4b"),
                    new KeyValuePair <string, string>("meida", productMedia.Text),
                    new KeyValuePair <string, string>("productName", productName.Text),
                    new KeyValuePair <string, string>("remark", productIntro.Text)
                });
                request.Content = postData;
                HttpResponseMessage response = await client.SendAsync(request);

                responseString = await response.Content.ReadAsStringAsync();
            }

            if (!string.IsNullOrEmpty(responseString))
            {
                exposureRes res = JsonConvert.DeserializeObject <exposureRes>(responseString);
                if (res.Success)
                {
                    MessageHelper.Show("提交成功");
                }
                else
                {
                    MessageHelper.Show("提交失败," + res.Message);
                }
            }
            else
            {
                MessageHelper.Show("网络异常,请稍后再试");
            }
        }
Пример #16
0
    IEnumerator startCapuccino()
    {
        timeSlider.value = espressoTime;

        timeChangeState = TimeChange.CAPUCCINO;
        stateText.text  = ("카푸치노 4잔을 만들어 주세요.");

        frontText.text = ("트레이에 4개의 컵받침과 스푼을 준비해 주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("커피포터를 분리해 찌꺼기를 버려주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("커피포터를 린넨천으로 닦아주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("그라인더를 사용해 포터필터에 분쇄원두를 담아주세요.");
        yield return(new WaitForSeconds(19));

        frontText.text = ("검지를 이용해 원두를 레벨링해주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("템퍼로 원두를 눌러주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("다른쪽 커피포터를 분리해 찌꺼기를 버려주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("커피포터를 린넨천으로 닦아주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("그라인더를 사용해 포터필터에 분쇄원두를 담아주세요.");
        yield return(new WaitForSeconds(19));

        frontText.text = ("검지를 이용해 원두를 레벨링해주세요.");
        yield return(new WaitForSeconds(9));

        frontText.text = ("템퍼로 원두를 눌러주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("버튼을 차례로 눌러 양 노즐의 물을 빼주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("버튼을 눌러 꺼주세요");
        yield return(new WaitForSeconds(1));

        frontText.text = ("두 포터필터를 차례로 교합해 주세요.");
        yield return(new WaitForSeconds(10));

        frontText.text = ("4개의 카푸치노 잔을 놓아주세요");
        yield return(new WaitForSeconds(7));

        frontText.text = ("추출 버튼을 차례로 눌러주세요."); // 이후 26초 추출 끄기
        yield return(new WaitForSeconds(2));

        frontText.text = ("우유를 피처에 따라놓으세요.");
        yield return(new WaitForSeconds(24));

        frontText.text = ("버튼을 눌러 추출을 멈추세요.");
        yield return(new WaitForSeconds(1));

        frontText.text = ("스팀 천으로 감싼 후 버튼을 눌러 스팀을 빼주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("스팀으로 우유를 데워주세요.");
        yield return(new WaitForSeconds(25));

        frontText.text = ("스팀 천으로 감싼 후 버튼을 눌러 스팀을 빼주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("우유를 카푸치노 잔에 부어주세요");
        yield return(new WaitForSeconds(19));

        frontText.text = ("컵받침 위에 잔을 놓아주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("우유를 다른 카푸치노 잔에 부어주세요");
        yield return(new WaitForSeconds(19));

        frontText.text = ("컵받침 위에 잔을 놓아주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("스팀 천으로 감싼 후 버튼을 눌러 스팀을 빼주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("스팀으로 우유를 데워주세요.");
        yield return(new WaitForSeconds(25));

        frontText.text = ("스팀 천으로 감싼 후 버튼을 눌러 스팀을 빼주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("우유를 카푸치노 잔에 부어주세요");
        yield return(new WaitForSeconds(20));

        frontText.text = ("컵받침 위에 잔을 놓아주세요.");
        yield return(new WaitForSeconds(5));

        frontText.text = ("우유를 마지막 카푸치노 잔에 부어주세요");
        yield return(new WaitForSeconds(20));

        frontText.text = ("컵받침 위에 잔을 놓아주세요.");
        yield return(new WaitForSeconds(13));

        frontText.text = ("쟁반을 들고 심사위원에게 서빙하세요.");
        yield return(new WaitForSeconds(12));
    }