Beispiel #1
0
 public void TurtleGet()
 {
     CatObj.GetComponent <TDragCat>().CatInit();
     TurtleEffect.GetComponent <Animation>().Play();
     //이제부터 접시랑 초밥 떨어뜨리기
     StartCoroutine("DishAndSushiDrop");
 }
    public void RainbowDishGet()
    {
        CatObj.GetComponent <TDragCat>().CatInit();

        feverBG.SetActive(true);
        GameObject.FindGameObjectWithTag("SoundManager").GetComponent <BGMScript>().PauseGameBGM();
        this.GetComponent <AudioSource>().Play();

        FeverEffect.GetComponent <Animation>().Play();
        //이제부터 접시랑 초밥 떨어뜨리기
        StartCoroutine("DishAndSushiDrop");
    }
    IEnumerator StartExplain()
    {
        yield return(new WaitForSeconds(0.8f));

        explain1.SetActive(true);
        yield return(new WaitForSeconds(2f));

        explain1.SetActive(false);
        CatObj.GetComponent <TDragCat>().CatInit();              //고양이 초기화

        stageCutton.GetComponent <Animation>().Play("CuttonUp"); //커튼 올리기
        yield return(new WaitForSeconds(0.125f));

        GookItemPanel.SetActive(true);
    }
Beispiel #4
0
    IEnumerator FeverExplainCoroutine()
    {
        yield return(new WaitForSeconds(1.5f));

        StartExplain.SetActive(true);
        yield return(new WaitForSeconds(3f));

        StartExplain.SetActive(false);

        CatObj.GetComponent <TDragCat>().CatInit();
        stageCutton.GetComponent <Animation>().Play("CuttonUp"); //커튼 올리기
        yield return(new WaitForSeconds(0.125f));

        FeverItemPanel.SetActive(true); //무지개접시 떨어지게 시작하기
    }
 // Start is called before the first frame update
 void Start()
 {
     getNum = 0;
     RainbowDishObj.SetActive(true);
     CatObj.GetComponent <TDragCat>().CatInit();
 }
Beispiel #6
0
 // Start is called before the first frame update
 void Start()
 {
     getNum = 0;
     TurtleObj.SetActive(true);
     CatObj.GetComponent <TDragCat>().CatInit();
 }
Beispiel #7
0
 public void GookGet()
 {
     CatObj.GetComponent <TDragCat>().CatInit();
     GookEffect.GetComponent <Animation>().Play();
     StartCoroutine("SushiDrop"); //스시 드랍 시작
 }