GetValue(uiModItem) is not UIText modName) { throw new Exception("出现错误嘞"); } if (!modName.Text.Contains(Mod.DisplayName)) { return; } // 材质目录在这里 var texture = ModContent.Request<Texture2D>("CalamityCN/Assets/Textures/Shader/Golden"); var shader = ModContent.Request<Effect...