Skip to content

Commit 4424ed4

Browse files
Renamed container
1 parent 89732ed commit 4424ed4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Unity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class Unity extends Component {
2929
}
3030
else {
3131
this.unityLoaderService.append (this.props.loader).then (() => {
32-
let unityInstance = UnityLoader.instantiate ('unity-container', this.props.src, {
32+
let unityInstance = UnityLoader.instantiate ('unity', this.props.src, {
3333
onProgress: this.onProgress.bind (this),
3434
Module : this.props.module
3535
})
@@ -48,7 +48,7 @@ export default class Unity extends Component {
4848
{this.state.error !== null ? (
4949
<b>React-Unity-Webgl error {this.state.error}</b>
5050
):(
51-
<div id='unity-container'></div>
51+
<div id='unity'></div>
5252
)}
5353
</div>
5454
)

0 commit comments

Comments
 (0)