We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89732ed commit 4424ed4Copy full SHA for 4424ed4
source/Unity.js
@@ -29,7 +29,7 @@ export default class Unity extends Component {
29
}
30
else {
31
this.unityLoaderService.append (this.props.loader).then (() => {
32
- let unityInstance = UnityLoader.instantiate ('unity-container', this.props.src, {
+ let unityInstance = UnityLoader.instantiate ('unity', this.props.src, {
33
onProgress: this.onProgress.bind (this),
34
Module : this.props.module
35
})
@@ -48,7 +48,7 @@ export default class Unity extends Component {
48
{this.state.error !== null ? (
49
<b>React-Unity-Webgl error {this.state.error}</b>
50
):(
51
- <div id='unity-container'></div>
+ <div id='unity'></div>
52
)}
53
</div>
54
)
0 commit comments