Skip to content

Conversation

@rhysp
Copy link

@rhysp rhysp commented Sep 5, 2016

Issue #3
Unfortunately I'm unsure how to open the standalone Scene.unity file (to recompile Syrinj.unitypackage and also ensure tests are still passing. Happy to review with any insight.

@rhysp rhysp changed the title #3: Replace OnSceneWasLoaded with sceneLoaded delegate Replace OnSceneWasLoaded with sceneLoaded delegate Sep 5, 2016
Copy link
Owner

@mattvr mattvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SceneManager.sceneLoaded should be unsubscribed from when the script is destroyed (ie OnDestroy()).

This will also require you using a named method instead of an anonymous method.

@mattvr
Copy link
Owner

mattvr commented Feb 4, 2018

Thanks for the contribution @rhysp! I've stopped working on it myself but will approve pull requests if they're tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants