Created
November 30, 2021 09:54
-
-
Save forcepusher/6092c9a46543145d5924993bfeafd5d5 to your computer and use it in GitHub Desktop.
UnityEngine.EventSystem bug workaround for for YandexGames.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine.EventSystems; | |
/// <summary> | |
/// Workaround for EventSystem bug https://trello.com/c/PjW4j3st | |
/// </summary> | |
public class WebEventSystem : EventSystem | |
{ | |
protected override void OnApplicationFocus(bool hasFocus) => base.OnApplicationFocus(true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment