Get Text from input box? error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement

seems like it should be prety stright forward, get this text and make this string == this text… perhaps im doing it wrong?

using UnityEngine;
using System.Collections;
using System.IO;
using UnityEngine.UI; 

public class Register : MonoBehaviour {

	public Text UsernameField;
	public Text PasswordField;
	public Text EmailField;


	public  string RegisterURL = "http:/";

	public  string Username = "";
	public  string Pass = "";
	public  string Email = "";

	//--------------------------------------------------------------------------------------------------

	public void SaveAccount () {
		Username == UsernameField.ToString();
		Pass == PasswordField.ToString();
		Email == EmailField.ToString();



		StartCoroutine(RegisterAccount());
	}

	//--------------------------------------------------------------------------------------------------
	
	IEnumerator RegisterAccount() {
		WWWForm form = new WWWForm();
		form.AddField("Username", Username);
		form.AddField("Pass", Pass);
		form.AddField("Email", Email);

		WWW w = new WWW(RegisterURL, form);
		yield return w;
		
		if(!string.IsNullOrEmpty(w.error))
		{
			Debug.Log("error please try again");
		} 
		else
		{
		}
		w.Dispose();

	}
	//--------------------------------------------------------------------------------------------------




}

Username == UsernameField.ToString();
Pass == PasswordField.ToString();
Email == EmailField.ToString();

“==” is a comparison operator. “=” is the assignment operator.

In other words, if you’re doing comparison you use “==”…

if (x == 10)...

But if you’re assigning a value to a variable you use “=”…

x = 10;