예제 #1
0
 /// <summary>
 /// Stops and destroys plane polling
 /// </summary>
 void OnDisable()
 {
     if (MLWorldPlanes.IsStarted)
     {
         MLWorldPlanes.Stop();
     }
 }
예제 #2
0
 /// <summary>
 /// Stops and destroys plane polling
 /// </summary>
 void OnDestroy()
 {
     if (MLWorldPlanes.IsStarted)
     {
         MLWorldPlanes.Stop();
     }
 }