Exemplo n.º 1
0
    public void OnPointerDown(PointerEventData eventData)
    {
        if (!firstTouch)
        {
            firstTouch = true;
            swimmer.JumpIntoWater();
        }

        if (Player1)
        {
            stick1.Pressed();
        }
        if (!Player1)
        {
            stick2.Pressed();
        }
    }