private string FixBonePath(string path) { var name = path.Substring(path.LastIndexOf('/') + 1); foreach (var frame in RootFrame.FindChilds(name)) { var fullPath = GetFramePath(frame); if (fullPath.EndsWith(path)) { return(fullPath); } } return(null); }