public void Push(Vector2 direction, float strength, float duration) { direction.Normalize(); StopPush(); _pushRoutine = StartCoroutine(PushRoutine(direction * strength, duration)); ReceivedPush?.Invoke(); }
internal Task InternalPushReceivedAsync(ReceivedPush push) { return(PushReceived is null ? Task.CompletedTask : PushReceived.Invoke(push)); }