Example #1
0
 public override void OnUninitialize()
 {
     if (mask != null)
     {
         mask.DestroySelf();
         mask = null;
     }
     Events.ClearAll();
     if (null == curScene)
     {
         return;
     }
     curScene.Unload();
     curScene = null;
 }