Exemplo n.º 1
0
        public void OnDisabled()
        {
            UninstallHarmony();
            PrefabUtils.ClearALLCache();
            LoadingWrapperPatch.OnPostLevelLoaded -= PrefabUtils.CachePrefabs;
#if DEBUG
            LoadingWrapperPatch.OnPostLevelLoaded -= TestOnLoad.Test;
#endif
            LoadingManager.instance.m_levelUnloaded -= PrefabUtils.ClearALLCache;
            Options.instance = null;
        }