I cannot modify my EliteMonsterAffixPlugin font
GLQ_EliteMonsterAffixPlugin.cs - Pastebin.com
This is my complete plugin, modified from the default theme
Some custom code
effective
Code:
Hud.GetPlugin<GLQ_EliteMonsterAffixPlugin>().Enabled = true;
effective
Code:
Hud.GetPlugin<GLQ_EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arcane);
effective
Code:
Hud.GetPlugin<GLQ_EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Arcane, "奥棍");
invalid
Code:
Hud.RunOnPlugin<GLQ_EliteMonsterAffixPlugin>(plugin =>
{
plugin.fontsize = 5;
});
invalid
Code:
Hud.GetPlugin<GLQ_EliteMonsterAffixPlugin>().fontsize = 5;
If I put the AffixDecorators code in PaintWorld, the custom code results in the opposite
How can I make them all work?