0
import {Unity} from 'react-unity-webgl';

...

handleChange(event) {
    console.log(event.target.value);
}

render() {
    <div>
 ...
        <div>
            <Unity src="WebGL.json" />
        </div>
 ...
    <div>
      <input type="text" name="title" id="title" value={this.state.value} onChange={this.handleChange} />
    </div>
 ...
  </div>
}

Here onChange(Input) event was working well but after Unity integration it does not work at all. I tried with other input components but same result.

Hans Chan
  • 41
  • 5

1 Answers1

0

I solved this problem by myself and I posted the answer via below links.

Here are the answer for this question.

Hans Chan
  • 41
  • 5