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

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

            yield return(new WaitForEndOfFrame());
        }

        glassFixed = true;
        FadeOutGlass();
    }