private void ProcessMethods(Node node, bool add) { IList <MethodInfo> methods = DebugReflectionUtil.GetMethodInfos(node.GetType()); foreach (MethodInfo info in methods) { ProcessOnScreenDebugAttributeForMethod(info, node, add); ProcessActionAttributeForMethod(info, node, add); } }