コード例 #1
0
ファイル: FastModeMod.cs プロジェクト: aliem/ONI-Modloader
 private static void Postfix(Constructable __instance, Worker worker, ref float __result)
 {
     // Debug.Log(" === GetEfficiencyMultiplier InstantDigAndBuildMod === " + __instance.GetType().ToString());
     if (__instance.GetType() == typeof(Constructable) || __instance.GetType() == typeof(Diggable))
     {
         __result = 100.0f;
     }
 }