Quantcast
Channel: Answers for "Java Script Dont Destroy On Load Duplicates Game Object"
Browsing index pages (6 articles)

Answer by KnightRiderGuy

On Unity Forums I found this piece of code that cured my duplication of my "CountdownTimerManager" game object: But I still am having issues where my timer will no longer work when I go back into my...

View Article


Answer by alok-kr-029

you can do it by checking which level you want to implement the dontdestryonload eg: void Start() { if(Application.loadedLevelName != "Your Level Name which you dont want to duplicate");...

View Article


Answer by Digital-Phantom

Sounds like you have something in your scene that is Instantiating the timer. Do you have a game/scene manager object that you use to put the timer into a scene? If you do just remove it from all the...

View Article

Answer by zentaiguy

On Unity Forums I found this piece of code that cured my duplication of my "CountdownTimerManager" game object: But I still am having issues where my timer will no longer work when I go back into my...

View Article

Answer by alok.kr.029

you can do it by checking which level you want to implement the dontdestryonload eg: void Start() { if(Application.loadedLevelName != "Your Level Name which you dont want to duplicate");...

View Article


Answer by Digital Phantom

Sounds like you have something in your scene that is Instantiating the timer. Do you have a game/scene manager object that you use to put the timer into a scene? If you do just remove it from all the...

View Article
Browsing index pages (6 articles)


Latest Images