// ----------------------------------------------------------------------------------
    protected GUIContent GetHelpContent(string tooltip)
    {
        string caption = tooltip;
        string text    = FXMakerTooltip.GetHsEditor_NcSpriteAnimation(tooltip);

        return(GetHelpContent(caption, text));
    }
    protected override void HelpBox(string caption)
    {
        string str = caption;

        if (caption == "" || caption == "Script")
        {
            str = FXMakerTooltip.GetHsEditor_NcSpriteAnimation("");
        }
        base.HelpBox(str);
    }
Exemple #3
0
    protected override void HelpBox(string caption)
    {
        string keyword = caption;
        int    index   = caption.IndexOf('\n');

        if (0 <= index)
        {
            keyword = caption.Substring(0, index);
        }
        base.HelpBox(FXMakerTooltip.GetHsEditor_NcSpriteAnimation(keyword));
    }