public virtual void OnCreated(ILoading loading) { if (loading == null || (!loading.loadingComplete && !IsValidLoadMode(loading))) { Redirector.UnpatchAll(); } }
public void OnDisabled() => Redirector.UnpatchAll();
public void OnLevelUnloading() { Controller = null; Redirector.UnpatchAll(); PatchesApply(); }