Exemplo n.º 1
0
    public void OnPointerClick(PointerEventData eventData)
    {
        if (Input.GetKey(KeyCode.LeftControl))
        {
            SLevel.Completed = true;

            if (SLevel.NumberOfStars < 3)
            {
                SLevel.NumberOfStars = 3;
            }

            Overview.UpdateSelectedWorldAndSaveState();
        }
        else
        {
            Overview.LoadLevel(SLevel);
        }
    }