Пример #1
0
 public void onEmojiClicked()
 {
     FIZZMainThreadExecutor.Queue(() => {
         FIZZKeyboard.ResetAndroidKeyboardObject();
         FIZZKeyboard.OnEmojiClicked();
     });
 }
Пример #2
0
 public void onKeyboardClose()
 {
     FIZZMainThreadExecutor.Queue(() => {
         FIZZKeyboard.ResetAndroidKeyboardObject();
         FIZZKeyboard.OnKeyboardClose();
     });
 }
Пример #3
0
 public void onKeyboardOpen(float height)
 {
     FIZZMainThreadExecutor.Queue(() => {
         FIZZKeyboard.GetKeyboardJavaObject();
         FIZZKeyboard.OnKeyboardOpen(height);
     });
 }
        private void InitNativeInstance()
        {
            AndroidJavaClass JavaClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer");

            m_UnityJaveClassContext = JavaClass.GetStatic <AndroidJavaObject> ("currentActivity");

            FIZZMainThreadExecutor.Init();
        }
Пример #5
0
 public void onDoneButtonPress(string text)
 {
     FIZZMainThreadExecutor.Queue(() => {
         FIZZKeyboard.OnDoneButtonPress(text);
     });
 }
Пример #6
0
 public void onCancel(string text)
 {
     FIZZMainThreadExecutor.Queue(() => {
         FIZZKeyboard.OnCancel(text);
     });
 }