Example #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetMouseButton(0))
     {
         bubbleDrawer.DrawStencial();
     }
 }
Example #2
0
    /// <summary>
    /// Start the CutTheRopeController
    /// </summary>
    public override void DoAction()
    {
        screenCleaner.DrawStencial();

        if (useHintHand)
        {
            DisableHintHand();
        }
    }
Example #3
0
    private IEnumerator FixBrokenGlass()
    {
        while (bubbleDrawer.MaskedPercentage() <= percentageOfCleanUp)
        {
            if (Input.GetMouseButton(0))
            {
                bubbleDrawer.DrawStencial();
            }

            yield return(new WaitForEndOfFrame());
        }

        glassFixed = true;
        FadeOutGlass();
    }