void OnMouseDown()
 {
     if (!progression.haveSlingshotPrint() && DamProgression.canPlayLevel)
     {
         progression.getSlingshotPrint();
         StartCoroutine(bubbleScript.MoveToCorner());
     }
 }
示例#2
0
    void OnMouseDown()
    {
        if (CliffProgression.itemsCollectible && progression.haveBanjoPrint() &&
            !progression.haveTissueBox())
        {
            animator.SetBool("hasBox", false);
            tissueBoxRenderer.enabled = true;
            tissueBoxProgression.CollectTissueBox();
            StopDodoTalks();
            StartCoroutine(PlayMyTissuesClip());
        }

        if (CliffProgression.canBeginLevel && !clicked)
        {
            StartCoroutine(bubbleScript.MoveToCorner());
            GameManagerManager.forestProgression.getBanjoPrint();
            clicked = true;
        }
    }