qc.Touch.isAnyTouch

原型

  • boolean isAnyTouch(void)

说明

判定当前是否开始触摸

范例

    if (game.input.touch.isAnyTouch()) {
        console.log('Touch happened.');
    }

results matching ""

    No results matching ""