Manual     Reference     Scripting  
  
Scripting > Runtime Classes > WWWForm   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • WWWForm
  • All Members
  • Variables
  • data
  • headers
  • Constructors
  • WWWForm
  • Functions
  • AddBinaryData
  • AddField

WWWForm.AddField  

function AddField (fieldName : String, value : String, e : Encoding = System.Text.Encoding.UTF8) : void

Description

Add a simple field to the form.

Adds field fieldName with a given string value.

function AddField (fieldName : String, i : int) : void

Description

Adds a simple field to the form.

Adds field fieldName with a given integer value. A conveinience for calling AddField(fieldName, i.ToString)