private void OnPressOpenButton() { WebView2Native.Create("https://google.co.jp"); WebView2Native.UpdateBound(UIHelper.GetCanvasRectangle(ImageRef.rectTransform)); ButtonTextRef.text = "Close"; }
// Update is called once per frame void Update() { WebView2Native.UpdateBound(UIHelper.GetCanvasRectangle(ImageRef.rectTransform)); }