public static UIRenderTexture Get(UITexture ui_texture, float fov = -1f, bool link_main_camera = false, int layer = -1)
    {
        //IL_0022: Unknown result type (might be due to invalid IL or missing references)
        if (ui_texture == null)
        {
            return(null);
        }
        UIRenderTexture uIRenderTexture = ui_texture.GetComponent <UIRenderTexture>();

        if (uIRenderTexture == null)
        {
            uIRenderTexture = ui_texture.get_gameObject().AddComponent <UIRenderTexture>();
        }
        uIRenderTexture.uiTexture      = ui_texture;
        uIRenderTexture.fov            = fov;
        uIRenderTexture.linkMainCamera = link_main_camera;
        uIRenderTexture.layer          = layer;
        uIRenderTexture.Init();
        return(uIRenderTexture);
    }