예제 #1
0
    void Update()
    {
        PlayerMovement();

        if (Input.GetKeyDown(KeyCode.E))
        {
            if (PickupInteraction.canInteract)
            {
                Interact(target);
            }
        }

        // Testing if walk function works. ( AudioController>Walking(); )
        if (Input.GetKeyDown(KeyCode.H))
        {
            ac.CombatMusic();
        }
    }