Error CS1061

Hey guys im having this error
Assets/Scripts/INICIAR SESION/SesionScript.cs(11,33): error CS1061: Type string' does not contain a definition for text’ and no extension method text' of type string’ could be found (are you missing a using directive or an assembly reference?)

and the line is:

	if (nombre.text.text.Equals ("") || clave.text.text.Equals ("")) {

Assets/Scripts/INICIAR SESION/SesionScript.cs(14,41): error CS1061: Type string' does not contain a definition for text’ and no extension method text' of type string’ could be found (are you missing a using directive or an assembly reference?)

and the line is:

		if (nombre.text.text.Equals (PlayerPrefs.GetString ("Nombre")) && clave.text.text.Equals (PlayerPrefs.GetString ("Clave"))) {

Please if you can help me wich is the error and how to fix it!

thanks!!!

You have written .text twice. Thats wrong. It should be like this:

 if (nombre.text.Equals ("") || clave.text.Equals ("")) {

and

  if (nombre.text.Equals (PlayerPrefs.GetString ("Nombre")) && clave.text.Equals (PlayerPrefs.GetString ("Clave"))) {