wangguan
2020-12-14 0df19f41bd178984131c2f1b59bae330fbf23d24
安卓报错BUG
1 files modified
4 ■■■■ changed files
Assets/Scripts/UI/ClickEffect.cs 4 ●●●● patch | view | raw | blame | history
Assets/Scripts/UI/ClickEffect.cs
@@ -45,11 +45,15 @@
    {
        if (Application.isMobilePlatform)
        {
            if (Input.touchCount > 0)
            {
            Touch touch = Input.GetTouch(0);
            if (touch.phase == TouchPhase.Began)
            {
                PlayFX(touch.position);
            }
            }
            // for (int i = 0; i < Input.touchCount; ++i)
            // {