예제 #1
0
 public static bool IsRepeatableResearch(this ResearchProjectDef def) => def.GetResearchMod <ResearchMod_Repeatable>() != null;
예제 #2
0
 public static T GetResearchMod <T>(this ResearchProjectDef def) where T : ResearchMod => (T)def.GetResearchMod(typeof(T));