qc.Touch.isAnyTouchStart

原型

  • boolean isAnyTouchStart(void)

说明

判定当前帧是否开始触摸

范例

    if (game.input.touch.isAnyTouchStart()) {
        console.log('Touch start.');
    }

results matching ""

    No results matching ""