C# 字符串转枚举类型

Enum.Parse(typeof(枚举类型), 字符串类型)

如:在Unity中, Enum.Parse(typeof(SystemLanguage), "Chinese")

原文地址:https://www.cnblogs.com/Peng18233754457/p/10277714.html