首页 · C# · unity parse string to enum. YourEnumType parsed_enum = (YourEnumType)System.Enum.Parse( typeof(YourEnumType), your_string );.
確定! 回上一頁