how convert from bool to system.func bool unity code example
Example: how to system func bool unity
Task<bool> t1 = new Task<bool>(() => IsPrime(numberBeingTested));
Task<bool> t1 = new Task<bool>(() => IsPrime(numberBeingTested));