string str = "Sell_Price";
this.m_sell_price.text = sellPrice.GetType().GetField(str).GetValue(sellPrice).ToString();
sellPrice是类名
Sell_Price是sellPrice类的变量
string str = "Sell_Price";
this.m_sell_price.text = sellPrice.GetType().GetField(str).GetValue(sellPrice).ToString();
sellPrice是类名
Sell_Price是sellPrice类的变量