wangguan
2020-11-17 2ff55a1d8446f27ebd22ce9dfbf15185f97a60c9
Assets/Scripts/UI/ClickEffect.cs
@@ -45,14 +45,15 @@
    {
        if (Application.isMobilePlatform)
        {
            for (int i = 0; i < Input.touchCount; ++i)
            {
                Touch touch = Input.GetTouch(i);
            Touch touch = Input.GetTouch(0);
                if (touch.phase == TouchPhase.Began)
                {
                    PlayFX(touch.position);
                }
            }
            // for (int i = 0; i < Input.touchCount; ++i)
            // {
            // }
        }
        else
        {