ScrollWheel() private method

private ScrollWheel ( int uniqueId, int amount ) : void
uniqueId int
amount int
return void
    private void handleKeys()
    {
        int dyScroll = (int)Input.GetAxis("Vertical") * 100;

        if (dyScroll != 0)
        {
            AwesomiumWrapper.ScrollWheel(mesh.m_TextureID, dyScroll);
        }
    }
    void Update()
    {
        float scroll = Input.GetAxis("Mouse ScrollWheel");

        if (scroll != 0)
        {
            AwesomiumWrapper.ScrollWheel(mesh.m_TextureID, (int)scroll);
        }

        handleKeys();
    }