Example #1
0
        public void Destroy()
        {
            m_nativePluginRunner.OnDestroy();
            m_terrainStreamer.Destroy();
            m_roadStreamer.Destroy();
            m_buildingStreamer.Destroy();
            m_highlightStreamer.Destroy();
            m_indoorMapStreamer.Destroy();
            m_labelServiceInternal.Destroy();
            m_positionerApiInternal.Destroy();
            m_mapGameObjectScene.Destroy();
            m_cameraApiInternal.Destroy();

            GameObject.Destroy(m_root);
            m_root = null;
        }
Example #2
0
        public void Destroy()
        {
            m_geographicApi.Destroy();
            m_nativePluginRunner.OnDestroy();
            m_terrainStreamer.Destroy();
            m_roadStreamer.Destroy();
            m_buildingStreamer.Destroy();
            m_highlightStreamer.Destroy();
            m_indoorMapStreamer.Destroy();
            m_labelServiceInternal.Destroy();
            m_positionerApiInternal.Destroy();
            m_mapGameObjectScene.Destroy();
            m_cameraApiInternal.Destroy();
            m_precacheApiInternal.Destroy();

            DestroyRootObject();
        }