Fixed compilation error when building a player.
EditorGUILayout.FloatField is not available because it resides in the UnityEditor namespace.