private void SetContentForParameters() { if (ParameterListContent == null) { ParameterListContent = new List <GUIContent>(); } ParameterListContent.Clear(); ParameterListContent.Add(new GUIContent($"none ({Typename})")); foreach (GenericParameter parameter in Parameters) { ParameterListContent.Add(new GUIContent(parameter.Name)); } }
private void SetContentForParameters() { if (ParameterListContent == null) { ParameterListContent = new List <GUIContent>(); } ParameterListContent.Clear(); ParameterListContent.Add(new GUIContent(string.Format("none ({0})", Typename))); foreach (Parameter parameter in Parameters) { ParameterListContent.Add(new GUIContent(parameter.Name)); } }