static RS() { PregnantIcon = ContentFinder <Texture2D> .Get("UI/Icons/Animal/Pregnant", true); BondIcon = ContentFinder <Texture2D> .Get("UI/Icons/Animal/Bond", true); MaleIcon = GenderUtility.GetIcon(Gender.Male); FemaleIcon = GenderUtility.GetIcon(Gender.Female); SlaughterIcon = ContentFinder <Texture2D> .Get("UI/Icons/Animal/Slaughter", true); TrainedIcon = ContentFinder <Texture2D> .Get("UI/Icons/Trainables/Obedience", true); YoungIcon = ContentFinder <Texture2D> .Get("UI/Icons/LifeStage/Young", true); AdultIcon = ContentFinder <Texture2D> .Get("UI/Icons/LifeStage/Adult", true); OutputDirectionIcon = ContentFinder <Texture2D> .Get("NR_AutoMachineTool/UI/OutputDirection", true); ForbidIcon = ContentFinder <Texture2D> .Get("NR_AutoMachineTool/UI/Forbid", true); PlayIcon = ContentFinder <Texture2D> .Get("NR_AutoMachineTool/UI/Play", true); DeleteX = ContentFinder <Texture2D> .Get("UI/Buttons/Delete", true); }
static RS() { PregnantIcon = ContentFinder <Texture2D> .Get("UI/Icons/Animal/Pregnant", true); BondIcon = ContentFinder <Texture2D> .Get("UI/Icons/Animal/Bond", true); MaleIcon = GenderUtility.GetIcon(Gender.Male); FemaleIcon = GenderUtility.GetIcon(Gender.Female); SlaughterIcon = ContentFinder <Texture2D> .Get("UI/Icons/Animal/Slaughter", true); TrainedIcon = ContentFinder <Texture2D> .Get("UI/Icons/Trainables/Obedience", true); YoungIcon = ContentFinder <Texture2D> .Get("UI/Icons/LifeStage/Young", true); AdultIcon = ContentFinder <Texture2D> .Get("UI/Icons/LifeStage/Adult", true); OutputDirectionIcon = ContentFinder <Texture2D> .Get("PRFUi/OutputDirection", true); ForbidIcon = ContentFinder <Texture2D> .Get("PRFUi/Forbid", true); PlayIcon = ContentFinder <Texture2D> .Get("PRFUi/Play", true); DeleteX = ContentFinder <Texture2D> .Get("UI/Buttons/Delete", true); Arrow = ContentFinder <Texture2D> .Get("UI/Overlays/Arrow", true); // Initialize graphics for SpecialSculptures: foreach (var s in ProjectRimFactory.Common. ProjectRimFactory_ModComponent.availableSpecialSculptures) { s.Init(); } }
private static Texture2D female() => GenderUtility.GetIcon(Gender.Female);
private static Texture2D other() => GenderUtility.GetIcon(Gender.None);