scroll.speedX < number>

Horizontal scrolling speed, number between 0 and 1. Default value is 1.
译:水平滚动速度,在1和0之间的数字。默认值为1。

scroll = new ScrollComponent

layerA = new Layer
    parent: scroll.content 

scroll.speedX = 0.5

results matching ""

    No results matching ""