patxu / ClimbAR

augmented reality climbing game framework
MIT License
10 stars 6 forks source link

De-associate scripts when leaving scene #198

Closed olykos closed 7 years ago

olykos commented 7 years ago

For example, on music game, if you press backspace (currently only in BackSpace branch) to go to the menu scene, the SoundHold script on holds is retained, which can mess up things. Any scene that attaches new scripts, should also clean them up on exit.

patxu commented 7 years ago

spoke with orestis, we already do this