Exemple #1
0
 void UpdateCapability()
 {
     if (Plugin.IsEnabled)
     {
         Collections.RegisterCapability(Plugin.CapabilityName);
     }
     else
     {
         Collections.DeregisterizeCapability(Plugin.CapabilityName);
     }
 }