private Quaternion parseQuaternionFromAttrString(string rotationStr) { Quaternion identity = Quaternion.identity; string[] array = rotationStr.Trim().Split(new char[] { ' ' }); if (array != null && !VuforiaUtilities.OrientationFromStringArray(out identity, array)) { Debug.LogWarning("Found illegal rotation attribute for Part " + rotationStr + " in config.xml. Part will be ignored."); return(Quaternion.identity); } return(identity); }