Пример #1
0
    // When this panel is clicked
    public void OnPointerClick(PointerEventData eventData)
    {
        if (panel.activeSelf)
        {
            GameManagerScript.BeginGame();

            // Log the click
            Logger.LogInstructionsClick(eventData.position);

            panel.SetActive(false);
        }
    }