gree / gree/unity-webview

Setting webview's texture to Quad

Open
#151 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

I exposed the Texture2D and set it to a quad. I also set the width and height of the webview to 0. Everything works fine on the editor. But when I run this on Android, I'm getting the webview on top. Is there a way I can avoid that? Instead of rendering the webview as a view itself, can I just capture the Texture2D alone?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the Android webview rendering path and how the Texture2D is exposed; the issue names no file or test to target. Determine whether the webview can render only into the texture without appearing as an overlaid view, and define completion as the quad showing the captured content while the webview itself is not visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, unity
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.