标签:replace style unity return name div string pre 转换
public Quaternion QuaternionParse(string name) { name = name.Replace("(", "").Replace(")", ""); string[] s = name.Split(‘,‘); return new Quaternion(float.Parse(s[0]), float.Parse(s[1]), float.Parse(s[2]), float.Parse(s[3])); }
标签:replace style unity return name div string pre 转换
原文地址:https://www.cnblogs.com/Peng18233754457/p/8763137.html