C# Multiple GUI.Tooltips

Hi everyone, is there a way to give a GUI.Button multiple tooltips? I have three variables I would like to display but I think the GUI.Tooltip only excepts two arguments.

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
public int someInt;
public string someString;
public float someFloat;
    void OnGUI() {
        GUI.Button(new Rect(10, 10, 100, 20), new GUIContent("Click me", someInt.ToString(), someString,someFloat.ToString()));
        GUI.Label(new Rect(10, 40, 100, 40), GUI.tooltip);
    }
}

You would go and pass something like

GUI.Button(new Rect(10, 10, 100, 20), new GUIContent("Click me", someInt.ToString()+"

"+someStringOnNewLine+someFloat.ToString()));

you can use these escape modifiers

New line
  		Tab
  \v    Vertical Tab
  \b	Backspace
  \r	Carriage return
  \f	Formfeed
  \\	Backslash
  \'	Single quotation mark
  \"	Double quotation mark
  \d	Octal
  \xd	Hexadecimal
  \ud	Unicode character

You can also adjust the word wrap.

hope this helps

If i understand your question correctly, then the following solution should work.

Replace

GUI.Button(new Rect(10, 10, 100, 20), 
    new GUIContent("Click me",
        someInt.ToString(),
        someString,
        someFloat.ToString()));

With

GUI.Button(new Rect(10, 10, 100, 20),
    new GUIContent("Click me",
    someInt.ToString() + "

" + someString + "
" + someFloat.ToString()));

You went wrong with your parameters. The only basic function that i think you may have gotten mixed up with is Console.WriteLine in the System library for C#.Net. The reason for me thinking this is because in that method you’re allowed to input multiple objects that will be concatenated into the input string.

None of Unity’s functions do this with strings. -You have to concatenate manually.
The escape value "
" creates a newline within the string’s environment. (e.g. Environment.NewLine = "
").