Unity parse string to enum. Copy. YourEnumType parsed_enum = (YourEnumType)System.Enum.Parse( typeof(YourEnumType), your_string );.
確定! 回上一頁