コード例 #1
0
 private static bool IsBattery(TechType techType)
 {
     return(TechUtil.TechTypePrefabContains <Battery>(techType));
 }
コード例 #2
0
 private static bool IsPlayerToolWithEnergyMixin(TechType techType)
 {
     return(TechUtil.TechTypePrefabContains <PlayerTool>(techType) && TechUtil.TechTypePrefabContains <EnergyMixin>(techType));
 }