Exemple #1
0
 public static void BindTo <T>(this AsyncReactiveProperty <T> source, TMP_Text text, bool rebindOnError = true)
 {
     BindToCore(source, text, text.GetCancellationTokenOnDestroy(), rebindOnError).Forget();
 }
Exemple #2
0
        // <T> -> Text

        public static void BindTo <T>(this IUniTaskAsyncEnumerable <T> source, TMP_Text text, bool rebindOnError = true)
        {
            BindToCore(source, text, text.GetCancellationTokenOnDestroy(), rebindOnError).Forget();
        }