/// <summary> /// Stops and destroys plane polling /// </summary> void OnDisable() { if (MLWorldPlanes.IsStarted) { MLWorldPlanes.Stop(); } }
/// <summary> /// Stops and destroys plane polling /// </summary> void OnDestroy() { if (MLWorldPlanes.IsStarted) { MLWorldPlanes.Stop(); } }