Help with Unity 4.6 input fields.

I’m trying to use an Input Field for the number in an elevator, my End Edit is attached to this function:

	public void FloorButton(string FloorNumber){
		Debug.Log (FloorNumber);
	
	}

Yet it simply prints a blank. I tried printing a string along side it, and it just printed the string and not the number I put in. It seems to not be writing to the string FloorNumber variable, and I don’t know why.

I fixed this myself, the problem was that I was selecting the function via “Static Parameters”, and not “Dynamic String”, while I couldn’t find this anywhere else, I’m sure it’s documented somewhere, so I put it here just in case someone didn’t know,