Helping perform on main thread in unity