📅  最后修改于: 2022-03-11 14:48:41.041000             🧑  作者: Mango
//SWIPE OR TAP
if(Input.GetTouch(0).phase == TouchPhase.Stationary) {
//jump
}
if(Input.GetTouch(0).phase == TouchPhase.Moved) {
//dash
}