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.