Hi everyone, I’ve been trying to display a string without using the ToString Method. But I keep getting this error GUILayout.Button has invaild arguments.
public string Text;
void OnGUI(){
GUILayout.Button(Text); // error GUILayout.Button has invaild arguments
}