Esempio n. 1
0
    // Update is called once per frame
    private void Update()
    {
        if (hitflg)
        {
            if (MaxWaitTime > waittime)
            {
                waittime += Time.deltaTime;
            }
            else
            {
                TutorialMG.CursorHIT();

                Destroy(gameObject);
            }
        }
    }