Exemple #1
0
 public override void OnTextInputTypeChanged(TextInputControlType type)
 {
     if (TextInputTypeChanged != null)
     {
         TextInputTypeChanged(type);
     }
 }
Exemple #2
0
 void OnTextInputTypeChanged(
     TextInputControlType type,
     bool canComposeInline)
 {
     if (type != TextInputControlType.TICT_None &&
         type != TextInputControlType.TICT_Password &&
         canComposeInline && m_View.ReceivesInput)
     {
         Input.imeCompositionMode = IMECompositionMode.On;
     }
     else
     {
         Input.imeCompositionMode = IMECompositionMode.Off;
     }
 }
Exemple #3
0
 void TextInputTypeChangedInvoke(TextInputControlType type)
 {
     OnTextInputTypeChanged.Invoke(type);
 }
	void OnTextInputTypeChanged(
		TextInputControlType type,
		bool canComposeInline)
	{
		if(type != TextInputControlType.TICT_None &&
			type != TextInputControlType.TICT_Password
			&& canComposeInline && m_View.ReceivesInput)
		{
			Input.imeCompositionMode = IMECompositionMode.On;
		}
		else
		{
			Input.imeCompositionMode = IMECompositionMode.Off;
		}
	}