private void createPause()
    {
        GameObject      go    = GameObject.FindGameObjectWithTag("EventSystem");
        PauseController pause = (PauseController)go.GetComponent(typeof(PauseController));

        pause.GamePause();
    }