示例#1
0
 private static void MakeParameterOptional(UnityApiType type, string functionName, string parameterName, string justification)
 {
     foreach (var function in type.FindEventFunctions(functionName))
     {
         function.MakeParameterOptional(parameterName, justification);
     }
 }
示例#2
0
 private static void SetIsCoroutine(UnityApiType type, string functionName)
 {
     foreach (var function in type.FindEventFunctions(functionName))
     {
         function.SetIsCoroutine();
     }
 }