79761169

Date: 2025-09-10 18:22:55
Score: 1.5
Natty:
Report link
    private void Update()
    {
        if (Application.platform == RuntimePlatform.Android)
        {
            if (UnityEngine.InputSystem.Keyboard.current.escapeKey.isPressed)
            {
                OnBackButtonPressed();
            }
        }
    }

This seems to be working

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BlueTorch