Exemplo n.º 1
0
    private void Update()
    {
        if (!zooming)
        {
            playerController.canMove = true;
        }
        else
        {
            playerController.canMove = false;

            if (Input.GetKeyDown(KeyCode.Space))
            {
                if (lerpSubject == npc)
                {
                    lerpSubject = player;
                    dialogueScript.ShowPlayerOptions();
                }
            }
        }
    }