using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Cysharp.Threading.Tasks; namespace BITKit { public class ShowException : Provider { public Provider stringOutput; public string message; public override Exception Get() { throw new NotImplementedException(); } public override async void Set(Exception t) { await UniTask.SwitchToMainThread(); stringOutput.Set(message = t.Message); } } }