private void OnDisable()
 {
     if (_mainEngine != null)
     {
         _mainEngine.Shutdown();
     }
 }
 void OnDisable()
 {
     Debug.Log("browser 2d disable");
     if (_mainEngine != null)
     {
         _mainEngine.Shutdown();
         _mainEngine = null;
     }
 }
示例#3
0
 void OnDisable()
 {
     _mainEngine.Shutdown();
 }