private void TouchStopped(ETouchIndex fingerIndex, FVector location) { // Cease jumping once touch stopped StopJumping(); }
private void TouchStart(ETouchIndex fingerIndex, FVector location) { // Jump on any touch Jump(); }
/// <summary>Retrieves the X and Y screen coordinates of the specified touch key. Returns false if the touch index is not down</summary> public extern void GetInputTouchState(ETouchIndex FingerIndex, out float LocationX, out float LocationY, out bool bIsCurrentlyPressed);
protected override void ReceiveActorOnInputTouchBegin_Implementation(ETouchIndex FingerIndex) { base.ReceiveActorOnInputTouchBegin_Implementation(FingerIndex); HandleControllerClick(); }
public extern bool GetHitResultUnderFingerByChannel(ETouchIndex FingerIndex, ETraceTypeQuery TraceChannel, bool bTraceComplex, out FHitResult HitResult);