Skip to content

Commit

Permalink
[FIX] Android screen freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
Thing-leoh Nicolas committed Feb 14, 2022
1 parent 068f842 commit e2a47f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/src/main/java/no/asmadsen/unity/view/UnityUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ public static void postMessage(String gameObject, String methodName, String mess
if (!_isUnityReady) {
return;
}
pause();
resume();
UnityPlayer.UnitySendMessage(gameObject, methodName, message);
}

Expand Down

0 comments on commit e2a47f5

Please sign in to comment.