示例#1
0
    void Update()
    {
        InputUpdate();
        PlayerControl();

        if (doCameraUpdate)
        {
            cameraController.CameraUpdate();
        }

        if (Input.GetKeyDown("left shift"))
        {
            if (canInteract)
            {
                CallInteraction();
            }
        }
    }