Exemplo n.º 1
0
 public void TurtleGet()
 {
     CatObj.GetComponent <TDragCat>().CatInit();
     TurtleEffect.GetComponent <Animation>().Play();
     //이제부터 접시랑 초밥 떨어뜨리기
     StartCoroutine("DishAndSushiDrop");
 }
Exemplo n.º 2
0
    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");
    }
Exemplo n.º 3
0
    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);
    }
Exemplo n.º 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); //무지개접시 떨어지게 시작하기
    }
Exemplo n.º 5
0
 // Start is called before the first frame update
 void Start()
 {
     getNum = 0;
     RainbowDishObj.SetActive(true);
     CatObj.GetComponent <TDragCat>().CatInit();
 }
Exemplo n.º 6
0
 // Start is called before the first frame update
 void Start()
 {
     getNum = 0;
     TurtleObj.SetActive(true);
     CatObj.GetComponent <TDragCat>().CatInit();
 }
Exemplo n.º 7
0
 public void GookGet()
 {
     CatObj.GetComponent <TDragCat>().CatInit();
     GookEffect.GetComponent <Animation>().Play();
     StartCoroutine("SushiDrop"); //스시 드랍 시작
 }