//string _placeholder, bool _useSecureText
        public static GUIPromptDialog Create(string _title, string _message, InputFieldElement[] _inputList, string[] _buttonList, GUIPromptDialogResult _delegate)
        {
            GameObject      _dialogGameObject = new GameObject("PromptDialog");
            GUIPromptDialog _instance         = _dialogGameObject.AddComponent <GUIPromptDialog>();


            _instance.Title      = _title;
            _instance.Message    = _message;
            _instance.InputList  = _inputList;
            _instance.ButtonList = _buttonList;

            _instance.Delegate = _delegate;

            return(_instance);
        }
		void LoginPromptCallback(string _selectedButton, GUIPromptDialog.InputFieldElement[] _inputList)
		{
			Dictionary<string, string> _dataDict	= new Dictionary<string, string>();

			_dataDict[kButtonPressed] 				= _selectedButton;
			
			//Adding some default text here
			_dataDict[kUserName] 					= "";
			_dataDict[kPassword] 					= "";

			if(_inputList != null)
			{
				if(_inputList[0] != null)
				{	
					_dataDict[kUserName]	= _inputList[0].GetCurrentText();
				}

				if(_inputList[1] != null)
				{
					_dataDict[kPassword]	= _inputList[1].GetCurrentText();
				}
			}

			if (NPBinding.UI != null)
				NPBinding.UI.InvokeMethod(kLoginPromptDialogClosedEvent, _dataDict.ToJSON());
		}
		void SingleFieldPromptCallback(string _selectedButton, GUIPromptDialog.InputFieldElement[] _inputList)
		{
			Dictionary<string, string> _dataDict 	= new Dictionary<string, string>();
			_dataDict[kButtonPressed] 				= _selectedButton;
		
			if(_inputList != null && _inputList[0] != null)
			{
				_dataDict[kInput]	= _inputList[0].GetCurrentText();
			}
			
			if (NPBinding.UI != null)
				NPBinding.UI.InvokeMethod(kSingleFieldPromptDialogClosedEvent, _dataDict.ToJSON());
		}