Exemplo n.º 1
0
 public virtual void OnCreated(ILoading loading)
 {
     if (loading == null || (!loading.loadingComplete && !IsValidLoadMode(loading)))
     {
         Redirector.UnpatchAll();
     }
 }
Exemplo n.º 2
0
 public void OnDisabled() => Redirector.UnpatchAll();
Exemplo n.º 3
0
 public void OnLevelUnloading()
 {
     Controller = null;
     Redirector.UnpatchAll();
     PatchesApply();
 }