mirror of https://github.com/Cysharp/UniTask
Formatting fixed
parent
952e113011
commit
87c04a29fa
|
@ -101,7 +101,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
|
|
||||||
public static async UniTask AwaitWithCancellation(this Tween tween, CancellationToken cancellationToken)
|
public static async UniTask AwaitWithCancellation(this Tween tween, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
Error.ThrowArgumentNullException(tween, nameof(tween));
|
Error.ThrowArgumentNullException(tween, nameof(tween));
|
||||||
|
|
||||||
if (!tween.IsActive()) await UniTask.CompletedTask;
|
if (!tween.IsActive()) await UniTask.CompletedTask;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue