Ejemplo n.º 1
0
    private void CheckZoom()
    {
        if (Input.GetKeyDown(KeyCode.H))
        {
            mTheCamera.Zoom(mVX.value());
        }

        if (Input.GetKeyDown(KeyCode.J))
        {
            mTheCamera.ZoomTowards(mRefPoint.transform.position, mVX.value());
        }
    }