iPhoneOSGameView.Unload Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the run-loop is terminated.
public event EventHandler<EventArgs> Unload;
member this.Unload : EventHandler<EventArgs>
Event Type
Implements
Remarks
When using the run-loop processing architecture, events happen in the following order:
- Load
- UpdateFrame
- RenderFrame
-
Unload
Run() and Run(Double), invoke Load before starting the UpdateFrame/RenderFrame loop which is invoked for every rendered frame.
Stop() ends the UpdateFrame/RenderFrame loop processing, then invokes the Unload event.