TestHttpRequest.OnGUI C# (CSharp) Method

OnGUI() public method

public OnGUI ( ) : void
return void
    void OnGUI()
    {
        if (request != null)
        {
            progress = request.GetProgress();
        }

        string label = string.Format("Test#: {0} -  Progress: {1}\nResponse: {2}", currentTestIndex, progress, response);
        GUI.Label(new Rect(0, 0, 1000, 1000), StringExtension.Truncate(label , 1000));
    }