public static UniTask <Result <T> > CheckIf <T>(this UniTask <Result <T> > resultUniTask, bool condition, Func <T, Result> func) { if (condition) { return(resultUniTask.Check(func)); } else { return(resultUniTask); } }