public static apGUIContentWrapper Make(string text, bool isLongText, string tooltip) { apGUIContentWrapper newGUIContent = new apGUIContentWrapper(isLongText); newGUIContent.SetText(text); newGUIContent.SetToolTop(tooltip); return(newGUIContent); }
public static apGUIContentWrapper Make(Texture2D image, string tooltip) { apGUIContentWrapper newGUIContent = new apGUIContentWrapper(false); newGUIContent.SetImage(image); newGUIContent.SetToolTop(tooltip); return(newGUIContent); }