Exemplo n.º 1
0
    void DoKeyDown(Transform t)
    {
        Sequence s = DOTween.Sequence();

        s.Append(t.DOScale(new Vector3(1.1f, 1.1f, 1.1f), 0.1f));
        s.Append(t.DOScale(new Vector3(1, 1, 1), 0.1f));
        pianoView.PlayPiano(keyIndex);
    }