示例#1
0
 public virtual void Cleanup()
 {
     if (GameCamera != null)
     {
         GameCamera.Cleanup();
         GameCamera = null;
     }
     if (RenderPolicy != null)
     {
         RenderPolicy.Cleanup();
         RenderPolicy = null;
     }
 }