TimerComponent组件Wait方法返回一个bool值,返回true表示正常timeout,返回false表示中途取消计时器
主要原因是为了避免类似using语句因为取消协程导致无法调用到Dispose方法的问题,所以协程即使取消也一定要往下执行 因此增加bool值来判断是否已经取消
Showing
文件已移动
想要评论请 注册 或 登录
从无法访问的项目Fork
主要原因是为了避免类似using语句因为取消协程导致无法调用到Dispose方法的问题,所以协程即使取消也一定要往下执行 因此增加bool值来判断是否已经取消