private static void MakeParameterOptional(UnityApiType type, string functionName, string parameterName, string justification) { foreach (var function in type.FindEventFunctions(functionName)) { function.MakeParameterOptional(parameterName, justification); } }
private static void SetIsCoroutine(UnityApiType type, string functionName) { foreach (var function in type.FindEventFunctions(functionName)) { function.SetIsCoroutine(); } }