Edit

Share via


iPhoneOSGameView.Unload Event

Definition

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:

  1. Load
  2. UpdateFrame
  3. RenderFrame
  4. 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.

Applies to