Skip to content

Commit ddd5209

Browse files
author
Pim de Witte
authored
Update UnityMainThreadDispatcher.cs
1 parent 41f149a commit ddd5209

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

UnityMainThreadDispatcher.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ void Awake() {
8080
if (_instance == null) {
8181
_instance = this;
8282
DontDestroyOnLoad(this.gameObject);
83-
} else if(_instance != this) {
84-
Destroy(this.gameObject);
85-
}
83+
}
8684
}
8785

8886
void OnDestroy() {

0 commit comments

Comments
 (0)