Ejemplo n.º 1
0
    private void Friction()
    {
        SelectClothingNumCheck();
        //スワイプ開始
        if (swipemoveshop.TouchFlag)
        {
            State = STATE.SWIP;
            return;
        }

        //一定速度以下でフリクション終了
        if (Mathf.Abs(swipemoveshop.GetInertiaMove()) < swipemoveshop.GetStopThreshold())
        {
            ChangePosition(clothing.GetSelectNumber());
            State = STATE.MOVE;
        }
    }