Example #1
0
 public static void Postfix(Drillable __instance)
 {
     try
     {
         CDC_Config cdc = __instance.gameObject.AddComponent <CDC_Config>();
         Logger.Log("Added component to Drillable!", QMod.assembly);
     }
     catch (Exception e)
     {
         Logger.Exception(e, LoggedWhen.InPatch, QMod.assembly);
     }
 }
Example #2
0
            public static void Postfix(Drillable __instance)
            {
                CDC_Config cdc = __instance.gameObject.AddComponent <CDC_Config>();

                Logger.Log("Added component to Drillable!");
            }