mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
fix(ui): 修复CanvasItemUiPageBehavior暂停逻辑问题
- 添加BlocksInput检查条件,避免输入被错误阻止 - 修复暂停状态下节点处理、物理处理和输入处理的控制逻辑 - [release ci]
This commit is contained in:
parent
f1e45385c4
commit
0a48fb4652
@ -58,6 +58,7 @@ public class CanvasItemUiPageBehavior<T>(T owner, string key) : IUiPageBehavior
|
||||
_page?.OnPause();
|
||||
|
||||
// 暂停节点的处理、物理处理和输入处理
|
||||
if (!BlocksInput) return;
|
||||
owner.SetProcess(false);
|
||||
owner.SetPhysicsProcess(false);
|
||||
owner.SetProcessInput(false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user