diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityBindingExtensions.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityBindingExtensions.cs index 749f02a..269fee2 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityBindingExtensions.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/UnityBindingExtensions.cs @@ -12,17 +12,17 @@ namespace Cysharp.Threading.Tasks #if !UNITY_2019_1_OR_NEWER || UNITASK_UGUI_SUPPORT // -> Text - public static void BindTo(this IUniTaskAsyncEnumerable source, Text text, bool rebindOnError = true) + public static void BindTo(this IUniTaskAsyncEnumerable source, UnityEngine.UI.Text text, bool rebindOnError = true) { BindToCore(source, text, text.GetCancellationTokenOnDestroy(), rebindOnError).Forget(); } - public static void BindTo(this IUniTaskAsyncEnumerable source, Text text, CancellationToken cancellationToken, bool rebindOnError = true) + public static void BindTo(this IUniTaskAsyncEnumerable source, UnityEngine.UI.Text text, CancellationToken cancellationToken, bool rebindOnError = true) { BindToCore(source, text, cancellationToken, rebindOnError).Forget(); } - static async UniTaskVoid BindToCore(IUniTaskAsyncEnumerable source, Text text, CancellationToken cancellationToken, bool rebindOnError) + static async UniTaskVoid BindToCore(IUniTaskAsyncEnumerable source, UnityEngine.UI.Text text, CancellationToken cancellationToken, bool rebindOnError) { var repeat = false; BIND_AGAIN: @@ -68,22 +68,22 @@ namespace Cysharp.Threading.Tasks // -> Text - public static void BindTo(this IUniTaskAsyncEnumerable source, Text text, bool rebindOnError = true) + public static void BindTo(this IUniTaskAsyncEnumerable source, UnityEngine.UI.Text text, bool rebindOnError = true) { BindToCore(source, text, text.GetCancellationTokenOnDestroy(), rebindOnError).Forget(); } - public static void BindTo(this IUniTaskAsyncEnumerable source, Text text, CancellationToken cancellationToken, bool rebindOnError = true) + public static void BindTo(this IUniTaskAsyncEnumerable source, UnityEngine.UI.Text text, CancellationToken cancellationToken, bool rebindOnError = true) { BindToCore(source, text, cancellationToken, rebindOnError).Forget(); } - public static void BindTo(this AsyncReactiveProperty source, Text text, bool rebindOnError = true) + public static void BindTo(this AsyncReactiveProperty source, UnityEngine.UI.Text text, bool rebindOnError = true) { BindToCore(source, text, text.GetCancellationTokenOnDestroy(), rebindOnError).Forget(); } - static async UniTaskVoid BindToCore(IUniTaskAsyncEnumerable source, Text text, CancellationToken cancellationToken, bool rebindOnError) + static async UniTaskVoid BindToCore(IUniTaskAsyncEnumerable source, UnityEngine.UI.Text text, CancellationToken cancellationToken, bool rebindOnError) { var repeat = false; BIND_AGAIN: