Ejemplo n.º 1
0
 public override void OnTextInputTypeChanged(TextInputControlType type)
 {
     if (TextInputTypeChanged != null)
     {
         TextInputTypeChanged(type);
     }
 }
Ejemplo n.º 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;
     }
 }
Ejemplo n.º 3
0
 void TextInputTypeChangedInvoke(TextInputControlType type)
 {
     OnTextInputTypeChanged.Invoke(type);
 }
Ejemplo n.º 4
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;
		}
	}