I’m trying to create a plugin to navigate to saved scene and do extra things
But I’m having trouble to achieve it because the code that needs to be done after scene animation(or transition) is complete is executed in the middle of transition.
I’m setting scene like below
pages.selected_page = pages[i] #TODO
but while view is moving to the scene, #TODO is executed.
I would like it to wait until it’s finished moving.
I’ve tried MyFrameChangeObserver but I couldn’t run a function inside it, it just says undefined method.