728x90
반응형

    void Update()

    {

        if (Application.platform == RuntimePlatform.Android)

        {

            if (Input.GetKeyDown(KeyCode.Escape))

            {

                // Back Button

                Application.Quit();

            }

            if (Input.GetKeyDown(KeyCode.Home))

            {

                // Home Button

            }

            if (Input.GetKeyDown(KeyCode.Menu))

            {

                // Menu Button

            }

        }

    }

 

반응형

+ Recent posts