onSceneLeave(action: (newScene?: string)=>void): KEventControllerRegister an event that runs when current scene ends.sincev3000.0