void UpdateData(Images.Name helpImage, HelpData helpData) { mHelpImage = helpImage; mHelpData = helpData; string formattedHelpText; BuildFormattedHelp.ForData( mHelpData.CleanText, mHelpData.FormattedBlocks.ToArray(), mHelpData.Links.ToArray(), out formattedHelpText, out mFormattedLinks); mHelpGUIContent = new GUIContent(formattedHelpText); }
internal bool TryGetLinkAtChar( int charIndex, out HelpLink link) { link = null; FormattedHelpLink formattedLink = GetFormattedLinkAtChar( mFormattedLinks, charIndex); if (formattedLink == null) { return(false); } link = formattedLink.Source; return(!BuildFormattedHelp.IsLinkMetaChar(formattedLink, charIndex)); }