标签:字符串转换 typeof eof com get color div player bsp
进场伙计4.GetComponent<DuiWu>().m_队伍 = (vsdog.队伍)System.Enum.Parse(typeof(vsdog.队伍), PlayerPrefs.GetString("伙计4的队伍"));
把字符串转换成枚举
原文地址:http://www.cnblogs.com/vsdog/p/6922413.html