public void OnPointerEnter(PointerEventData eventData) { if (Input.GetMouseButton(0)) { knight.jumping(); } //knight.jumping (); }
public void jumping() { knight.jumping(); }
public void WhilePressed() { knight.jumping(); }
public void jumpPls() { joomp.jumping(); }