gree / gree/unity-webview

Locally send msg from Http -> c# in Unity?

Open
#472 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

Hi,
I am trying to build the communication between local Http and c# in Unity.
I opened LoadHtml() with mytest.html in Assets/Resources.
There is a button in mytest.html and some trigger msg would be sent by that button.
Once the msg recieved in c#, I would like to execute something in Unity.

Can I implement this function with this Gree Webview?

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 reviewing the LoadHtml() call and mytest.html in Assets/Resources, then trace how the Unity C# side currently receives messages. Done would require a clearly defined message path from the HTML button to C# and a specified Unity action, but the issue names no target file, test, or concrete implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, html, unity
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.