コード例 #1
0
 public static void ConfigurationInvalid(
     this PartModule pm,
     string msg,
     params object[] args
     )
 {
     msg = string.Format(msg, args);
     pm.Error(msg);
     Utils.Message(6, $"WARNING: {msg}.\nConfiguration of \"{pm.Title()}\" is INVALID.");
     pm.enabled = pm.isEnabled = false;
 }