private SelectedPathError DoesPropertyExist(GameObject go, string propertPath) { try { object obj; if (MemberResolver.TryGetValue(go, propertPath, out obj)) { return(SelectedPathError.None); } else { return(SelectedPathError.InvalidPath); } } catch (TargetInvocationException e) { if (e.InnerException is MissingComponentException) { return(SelectedPathError.MissingComponent); } else { throw; } } }