예제 #1
0
 static void Prefix(ThingWithComps __instance)
 {
     RimProfiler.EntityMeasurer.EntityTickStart(EntityIdGetter.GetId(__instance, "tick"));
 }
예제 #2
0
 static void Postfix(ThingWithComps __instance)
 {
     RimProfiler.EntityMeasurer.EntityTickEnd(EntityIdGetter.GetId(__instance, "tickLong"));
 }