API 参考command 模块preventSceneInput 阻止场景输入事件On this pagepreventSceneInput 阻止场景输入事件preventSceneInput 类型: MethodDeclaration 所属类: CommandFunctionList 定义位置: command.ts 描述 阻止场景输入事件 返回值 类型: CommandFunction 源代码 位置: 第 7663 行 protected preventSceneInput(): CommandFunction { return () => { Scene.preventInput() return true } } 文档生成时间:2025/7/7 12:07:06