public void OnDisabled() { if (sm_redirectionInstalled) { Redirector.RevertRedirections(); sm_redirectionInstalled = false; } ExtendedPathManager.ResetPathFinding(); }
public void OnEnabled() { sm_optionsManager.LoadOptions(); if (!sm_redirectionInstalled) { Redirector.PerformRedirections(); sm_redirectionInstalled = true; } ExtendedPathManager.DefinePathFinding <TPPPathFind>(); }