示例#1
0
    void Update()
    {
        PlayerLook();
        Move();

        UpdateCurrentInteract();
        if (currentInteract != null)
        {
            currentInteract.Display();
            if (Input.GetKeyDown(KeyCode.E))
            {
                currentInteract.Interact();
            }
        }
    }